• Resolved DavidGMiles

    (@davidgmiles)


    When I try to upgrade to PHP8 – Codesnippets causes a critical error on the sites – create_function() is the culprit – the log shows PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /home/naturesl/public_html/wp-content/plugins/code-snippets-pro/php/snippet-ops.php(510) : eval()’d code:1 – I guess that call to create_function is internal? Because I cannot find any of my snippets using create_function

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Verdi Heinz

    (@ver3)

    Hi David, we are now answering your support ticket. The error seems to be in one of your Snippets (your content) but we’re looking deeper as I’m writing this. Please see the definitive answer in your email soon.

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @davidgmiles,

    We don’t use create_function anywhere in the plugin, and never have. The error message indicates that it is indeed coming from one of your snippets.

    I’d recommend doing a search for create_function from the snippets menu – or failing that, you could look directly at the snippets database table – to ensure that it’s not still being used somewhere in one of your snippets.

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

The topic ‘PHP8 Error’ is closed to new replies.