Trying to get property 'post_type' of non-object
Closed this issue · 0 comments
ronilaukkarinen commented
Line 27 causes a notice in gutenberg.php.
Steps to reproduce:
- Make sure debug is on:
Config::define( 'SAVEQUERIES', true );
Config::define( 'WP_DEBUG', true );
Config::define( 'WP_DEBUG_DISPLAY', true );
Config::define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true );
Config::define( 'SCRIPT_DEBUG', true );
Config::define( 'FS_METHOD', 'direct' );
Config::define( 'PLL_CACHE_HOME_URL', false );
ini_set( 'display_errors', '1' );
// Enable plugin and theme updates and installation from the admin
Config::define( 'DISALLOW_FILE_MODS', false );
- Make sure Laps and wps are installed
- Go to wp-admin/customize.php
- See this notice.