Conversation
supportAfter the vaultpress plugin automatically upgraded to 2.2.4 I get the follwing error, and my website no longer works. Warning: dirname() expects exactly 1 parameter, 2 given in /var/www/vhosts/36/460866/webspace/httpdocs/wp-content/plugins/vaultpress/vendor/jetpack-autoloader/class-plugin-locator.php on line 42 Fatal error: Uncaught exception ‘RuntimeException’ with message ‘Failed to locate plugin ‘ in /var/www/vhosts/36/460866/webspace/httpdocs/wp-content/plugins/vaultpress/vendor/jetpack-autoloader/class-plugin-locator.php:47 Stack trace: #0 /var/www/vhosts/36/460866/webspace/httpdocs/wp-content/plugins/vaultpress/vendor/jetpack-autoloader/class-autoloader.php(46): Automattic\Jetpack\Autoloader\jp9559eef123208b7d1b9c15b978567267_vaultpressⓥ2_2_5\al3_0_2\Plugin_Locator->find_current_plugin() #1 /var/www/vhosts/36/460866/webspace/httpdocs/wp-content/plugins/vaultpress/vendor/autoload_packages.php(13): Automattic\Jetpack\Autoloader\jp9559eef123208b7d1b9c15b978567267_vaultpressⓥ2_2_5\al3_0_2\Autoloader::init() #2 /var/www/vhosts/36/460866/webspace/httpdocs/wp-content/plugins/vaultpress/vaultpress.php(32): require(‘/var/www/vhosts…’) #3 /var/www/vhosts/36/460866/webspace/httpdocs/wp-settings.php(447): include_once(‘/var/www/vhosts…’) #4 /var/www/vhosts/36/460866/webspace/httpdocs/wp-config.php(89): require_once(‘/var/www/v in /var/www/vhosts/36/460866/webspace/httpdocs/wp-content/plugins/vaultpress/vendor/jetpack-autoloader/class-plugin-locator.php on line 47 The page I need help with: [ log in to see the link]
Sounds like your hosting provider might be running an old version of PHP. I believe that the second parameter was added with PHP 7.0. PHP 7.4 is the WP.org recommended minimum currently.
Sounds like your hosting provider might be running an old version of PHP. I believe that the second parameter was added with PHP 7.0. PHP 7.4 is the WP.org recommended minimum currently.