PHP Fatal Error after last update

#56697
  • Resolved Javier Loureiro
    Rank Math free

    PHP message: PHP Fatal error: Uncaught Error: Call to undefined method MyThemeShop\Helpers\Str::truncate() in /home/wp-content/plugins/seo-by-rank-math/includes/frontend/paper/class-singular.php:169

    I had to deactivate the plugin!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • tested with the 1.0.43.1-beta, still errors:

    2020/05/29 12:43:01 [error] 4111#4111: *4958279 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method MyThemeShop\Helpers\Str::truncate() in /home/wp-content/plugins/seo-by-rank-math/includes/modules/rich-snippet/class-jsonld.php:575
    Stack trace:
    #0 /home/wp-content/plugins/seo-by-rank-math/includes/modules/rich-snippet/class-jsonld.php(295): RankMath\RichSnippet\JsonLD->get_post_title()
    #1 /home/wp-content/plugins/seo-by-rank-math/includes/modules/rich-snippet/class-jsonld.php(260): RankMath\RichSnippet\JsonLD->get_post_collection_item()
    #2 /home/wp-content/plugins/seo-by-rank-math/includes/modules/rich-snippet/snippets/class-collection-page.php(50): RankMath\RichSnippet\JsonLD->get_post_collection()
    #3 /home/wp-content/plugins/seo-by-rank-math/includes/modules/rich-snippet/class-jsonld.php(111): RankMath\RichSnippet\Collection_Page->process()

    reverted to 1.0.42.3, everything works!

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    We released an update 1.0.43.1. Please head over to your WordPress plugins/update page and update the Rank Math plugin to the latest version.That should fix the issue.

    You might need to hard refresh your browser by using any of these keyboard combinations:
    Windows: Ctrl + F5
    Mac/Apple: Apple + R or command + R
    Linux: F5
    and clear your website and server-cache if you are still seeing any issues from Rank Math’s end.

    Hope that helps. If there’s anything else we can help you with, please let us know. We are here to assist.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘PHP Fatal Error after last update’ is closed to new replies.