Support » Plugin: PHP Everywhere » PHP 7.2: Deprecated function create_function()

  • Resolved filesubmit

    (@filesubmit)


    Hello,

    On PHP 7.2 there is a

    Deprecated: Function create_function() is deprecated in /home/cotosanc/public_html/wp-content/plugins/php-everywhere/phpeverywhere.php on line 24

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

    (@kvanbiesen)

    replace line 24 of /home/cotosanc/public_html/wp-content/plugins/php-everywhere/phpeverywhere.php

    with this line:

    add_action(‘widgets_init’, function(){return register_widget(“phpeverywherewidget”);});

    booom fixed

    Plugin Author Alexander Fuchs

    (@alexander_fuchs)

    Hi kvanbiesen,

    thank you for submitting the change. Help is always appreciated. I pushed out a minor update with your change a few minutes ago.

    Best regards,

    Alexander Fuchs

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7.2: Deprecated function create_function()’ is closed to new replies.