You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your website name (Settings > General > Site Title) is also the name of a PHP function, RankMath throws fatal errors as it tries to execute the function....
E.G. change your site title to trim or str_replace and you will get fatal errors thrown by rank math as it tries to execute those functions. To be clear, there are no parentheses needed in the site title - Rank Math is graciously converting it to an executable php function instead of handling it securely as a cleaned string...
PHP Fatal error: Uncaught ArgumentCountError: trim() expects at most 2 arguments, 3 given
PHP Fatal error: Uncaught TypeError: str_replace(): Argument #2 (replace)must be of type array|string, CMB2_Field given
Unfortunately the site I am working on is called TRiM which is an acronym..
The text was updated successfully, but these errors were encountered:
If your website name (Settings > General > Site Title) is also the name of a PHP function, RankMath throws fatal errors as it tries to execute the function....
E.G. change your site title to trim or str_replace and you will get fatal errors thrown by rank math as it tries to execute those functions. To be clear, there are no parentheses needed in the site title - Rank Math is graciously converting it to an executable php function instead of handling it securely as a cleaned string...
PHP Fatal error: Uncaught ArgumentCountError: trim() expects at most 2 arguments, 3 given
PHP Fatal error: Uncaught TypeError: str_replace(): Argument #2 (replace)must be of type array|string, CMB2_Field given
Unfortunately the site I am working on is called TRiM which is an acronym..
The text was updated successfully, but these errors were encountered: