• I’m getting a fatal error – and it may be due to my host upgrading to a newer version of PHP. Below are pertinent parts from the debug.log:

    `[09-Mar-2022 18:47:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /######/wp-content/plugins/bloginfo-shortcodes/bloginfo-shortcodes.php:38
    Stack trace:
    #0 /######/wp-includes/class-wp-hook.php(307): bloginfo_shortcodes(”)
    #1 /######/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 /######/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #3 /######/wp-settings.php(587): do_action(‘init’)
    #4 /######/wp-config.php(137): require_once(‘/######…’)
    #5 /######/wp-load.php(50): require_once(‘/######…’)
    #6 /######/wp-blog-header.php(13): require_once(‘/######…’)
    #7 /######/index.php(17): require(‘/######…’)
    #8 {main}
    thrown in /######/wp-content/plugins/bloginfo-shortcodes/bloginfo-shortcodes.php on line 38`

    • This topic was modified 4 years, 3 months ago by dougjoseph.

The topic ‘PHP Fatal Error in line 38’ is closed to new replies.