• Resolved Sam Steiner

    (@magganpice)


    Just a note: I changed my PHP version to 8.0.5 and the website went down (blank). WordPress sent me an email saying it found a fatal error in this plugin. Changed my PHP version back down to 7.X and the website works again.

    Uncaught Error: Call to undefined function create_function() in /home/httpd/vhosts/............/httpdox/wp-content/plugins/songkick-concerts-and-festivals/songkick_widget.php:3

    Hope this helps

    WordPress 5.7.2, German language website.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author saleandro

    (@saleandro)

    The plugin has been tested up to PHP version 7. Happy to review a contribution to update the plugin to be compatible with later versions!

    thank you

    Tim

    (@thegreentimtam)

    I had the same issue. Can be fixed by replacing line 3 of songkick_widget.php with the following:

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

    Plugin Author saleandro

    (@saleandro)

    Thank you Tim! I’ve applied your changes under release 0.9.5. Hope it helps you too Sam!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error in PHP 8.0.5’ is closed to new replies.