after server update to php 7.2 i got different errors

  • Resolved
    Posted in: Orizon  
  • Member
    evinx
    October 3, 2018 at 2:29 pm #115100

    hi there our server had been upgraded to php 7.2 and now i got different errors on my page

    Deprecated: Function create_function() is deprecated in /domains/evinx.nl/htdocs/www/wp-content/themes/orizon/widgets/ratingpopular-widget.php on line 195

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

    and

    Fatal error: Cannot redeclare post_templates_plugin_init() (previously declared in domains/evinx.nl/htdocs/www/wp-content/themes/orizon/post_templates.php:116) in domains/evinx.nl/htdocs/www/wp-content/themes/orizon/post_templates.php on line 117

    function post_templates_plugin_init() {
    	new Single_Post_Template_Plugin;
    }

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.