Fatal error on activation v1.5.4
-
Since upgrading to v1.5.4 I’m getting this fatal error that crashes the whole website:
Fatal error: Uncaught Error: Call to a member function addPsr4() on bool in <…>/wp-content/plugins/wp-php-console/wp-php-console.php:125
The referenced code:
`/**
* Initializes the plugin.
*
* @internal
*
* @since 1.5.4
*/
private function init_plugin() {// autoload plugin and vendor files
$loader = require_once( plugin_dir_path( __FILE__ ) . ‘vendor/autoload.php’ );// register plugin namespace with autoloader
$loader->addPsr4( ‘WP_PHP_Console\\’, __DIR__ . ‘/includes’ );require_once plugin_dir_path( __FILE__ ) . ‘includes/Functions.php’;
wp_php_console();
}`
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error on activation v1.5.4’ is closed to new replies.