• Resolved schoene-heide

    (@schoene-heide)


    Hi,

    In the debug log of a website currently under construction, the plugin Code Snippets generates loads of these error notices:

    PHP Deprecated: Function create_function() is deprecated in /home/wp/disk/wordpress/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code on line 1

    I use version 2.14.1 of the plugin, free version and the PHP version 7.4, WordPress 5.7.2.

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This is coming from one or more of your snippets. They are using the outdated create_function way of creating anonymous functions, instead of the newer function () {} syntax.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Deprecated – error notices in WP debug logs’ is closed to new replies.