Support » Plugin: Featured Image Column » Blank screen after update – quick fix

  • Resolved Jonas Lundman

    (@jonas-lundman)


    The “constructor” is not compatible.

    ( $featured_image_column = new Featured_Image_Column() )->add_hooks();

    This is working:

    
    $featured_image_column = new Featured_Image_Column();
    $featured_image_column->add_hooks();
    register_activation_hook( __FILE__, [ $featured_image_column, 'activation_hook' ] );
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for this! Hopefully, it’ll be officially addressed soon.

    Plugin Author Austin Passy

    (@austyfrosty)

    I’ll update this, but I would highly suggest you update your hosting environment to a new version of PHP, this chaining of a constuctor class was introduced in PHP 5.4, so you are running a version which was released in 2012 and has had no support since September 3rd, 2015!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blank screen after update – quick fix’ is closed to new replies.