Support » Plugin: PHP Code Widget » notice message

  • Resolved Pexle Chris


    Deprecated: Function create_function() is deprecated in /home/mariannalemos/public_html/wp-content/plugins/php-code-widget/execphp.php on line 62

    I take this message when I enable WP_DEBUG

Viewing 1 replies (of 1 total)
  • Try this Pexle. It doesn’t seem like the plugin author is planning to update.
    Replace the deprecaded function line with:
    add_action(‘widgets_init’, function() {return register_widget(“PHP_Code_Widget”); } );

Viewing 1 replies (of 1 total)
  • The topic ‘notice message’ is closed to new replies.