PHP Deprecated: Function create_function() is deprecated

Since updating I am getting a deprecated warning and I’m wondering if this is a problem…the exact message is:

PHP Deprecated: Function create_function() is deprecated in wordpressamh/wp-content/themes/x/framework/functions/global/admin/meta/setup.php on line 34

I changed the path a little bit but kept the part that shows the file it’s calling

Hello There,

Thanks for writing in! This is a PHP notice. What is your PHP version? You can get rid of this notice if you disable the debug mode in your WordPress installation. You can do this by opening wp-config.php and adding define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */
For example:

define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing the notice.

Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.