• Resolved Nico Marcuz

    (@nick7766)


    Hi There!
    
    After updating to version 3.7.0 I found the following fatal error in my PHP errorlog.
    
    Before that, we tested it on our test environment and everything went well.
    
    thnx for helping
    Nick
    
    ==
    [18-Dec-2022 07:59:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function trailingslashit() in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/class-wp-textdomain-registry.php:103
    Stack trace:
    
    0 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/l10n.php(784): WP_Textdomain_Registry->set()
    
    1 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/load.php(1401): load_textdomain()
    
    2 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/load.php(278): wp_load_translations_early()
    
    3 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-settings.php(74): wp_maintenance()
    
    4 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-config.php(88): require_once('…')
    
    5 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-load.php(50): require_once('…')
    
    6 /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-blog-header.php(13): require_once('…')
    
    7 /kunden/customer_id/webseiten/hello-world.net/wordpress/index.php(17): require('…')
    
    8 {main}
    
    thrown in /kunden/customer_id/webseiten/hello-world.net/wordpress/wp-includes/class-wp-textdomain-registry.php on line 103
    • This topic was modified 1 year, 11 months ago by Nico Marcuz.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi Nico,

    thank you for providing the PHP error message. As you can see our plugin is not mentioned in your PHP error message. The function trailingslashit is mentioned, and yes our plugin is using it, but that is a WP core function available since version 1.2.0.

    So, it looks like your WP installation might be corrupted or some other plugin is causing this issue.

    I would suggest creating a backup of your WP site and then updating your WP core (or reinstalling it). Then you can also try to reinstall our plugin.

    If that does not help, try to temporary disable other plugins, to see if some other plugin is causing this issue.

    If these steps do no help, please let us know which version of WP core you are using and which version of PHP.

    Thank you and have a nice day!

    Thread Starter Nico Marcuz

    (@nick7766)

    Good morning Gregory!

    Thank you for your quick response on Sunday.

    The strange thing is that we check every update of a plugin beforehand on an up-to-date staging site. So also the update of WP Mail SMTP.

    On our test site, there were no problems during the update. The fatal error was only generated in the PHP error log on the live site.

    I just deleted WP Mail SMTP again on our test site and reloaded and activated it. Again there was no error message.

    We use PHP version 8.0 and WP Core 6.1.1

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi Nico,

    I just re-tested on PHP 8.0 and WP 6.1 and as expected, there were no issues.

    I think there is a unique issue on your live site. I would still suggest these two steps:

    I would suggest creating a backup of your WP site and then updating your WP core (or reinstalling it). Then you can also try to reinstall our plugin.

    If that does not help, try to temporary disable other plugins, to see if some other plugin is causing this issue.

    Let us know how it goes. The problem is, that the error message you received, is referencing WP core function used in a WP core file, so I have no idea, how our plugin could cause this issue.

    Take care!

    Thread Starter Nico Marcuz

    (@nick7766)

    Good morning Gregory!
    I understand. Then thank you very much for your pre-Christmas support.
    Send best regards from Germany and wish you a Merry Christmas

    Nico

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi Nico,

    Thank you and happy holidays to you too ??

    Please let us know if you’ll resolve this issue and if this ticket can be marked as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Error after updating to 3.7.0’ is closed to new replies.