Blank screen after update – quick fix
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Blank screen after update – quick fix’ is closed to new replies.