• Resolved Guido

    (@guido07111975)


    Hi Otto,

    As mentioned before this plugin causes a deprecated warning and in my case also a “The plugin generated 215 characters of unexpected output during activation. If you notice “headers already sent” messages .. ” warning. You did update plugin few months ago, why didn’t you fix the issues mentioned above? If this plugin doesn’t work properly anymore, why not just remove it from repository? Because now I found out after installing plugin.

    Guido

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here. [09-Jan-2020 21:25:29 UTC] PHP Deprecated: Function create_function() is deprecated in /home/s28/html/wp-content/plugins/php-code-widget/execphp.php on line 62

    Until plugin author updates the plugin, you can fix the notice by manually changing line 62 in execphp.php

    add_action('widgets_init', create_function('', 'return register_widget("PHP_Code_Widget");'));

    to

    add_action( 'widgets_init', function() {
        register_widget("PHP_Code_Widget");
    } );
    • This reply was modified 4 years, 10 months ago by Dugonja.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated warning’ is closed to new replies.