• Until Max gets a chance to update the plugin, here’s what worked for me.

    In advancedtext.php, search for…

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

    And replace it with…

    function advanced_text_register_widget() {
      return register_widget("advanced_text");
    }
      add_action( 'widgets_init', 'advanced_text_register_widget' );

    Hope this helps someone!

    • This topic was modified 7 years, 8 months ago by kendawes.

The topic ‘This fixes the deprecated create_function in PHP 7+’ is closed to new replies.