How are you trying to set up the staging? An option in the hosting, manually or with the WP Staging plugin?
You can also download a backup of the site and set up a test system for it locally. You can then use tools such as XAMPP, MAMP, localwp etc. to get it running on your site.
I would also ask what changes have been made to the project recently. For example, have plugin updates been installed? That could be a reason. You can find out the last updated plugins by looking at the modification times of their directory in /wp-content/plugins/
via FTP.
@threadi, thank you for your reply!
I am trying to set up staging with WP Staging Pro. I will test locally then. Thank you for that suggestion. I did receive these errors on the dashboard. Are they related to WP Staging?
ce\PayPalCommerce\WcGateway\Settings\SettingsListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Settings/SettingsListener.php on line 197
Deprecated: WPStaging\Vendor\GuzzleHttp\HandlerStack::create(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/wp-staging-pro/vendor_wpstg/guzzlehttp/guzzle/src/HandlerStack.php on line 37
Deprecated: WPStaging\Vendor\GuzzleHttp\HandlerStack::__construct(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/wp-staging-pro/vendor_wpstg/guzzlehttp/guzzle/src/HandlerStack.php on line 49
Deprecated: WPStaging\Vendor\GuzzleHttp\Handler\StreamHandler::invokeStats(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/wp-staging-pro/vendor_wpstg/guzzlehttp/guzzle/src/Handler/StreamHandler.php on line 59
Deprecated: WPStaging\Vendor\GuzzleHttp\Middleware::tap(): Implicitly marking parameter $before as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/wp-staging-pro/vendor_wpstg/guzzlehttp/guzzle/src/Middleware.php on line 103
Deprecated: WPStaging\Vendor\GuzzleHttp\Middleware::tap(): Implicitly marking parameter $after as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/wp-staging-pro/vendor_wpstg/guzzlehttp/guzzle/src/Middleware.php on line 103
Deprecated: WPStaging\Vendor\GuzzleHttp\Middleware::retry(): Implicitly marking parameter $delay as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/wp-staging-pro/vendor_wpstg/guzzlehttp/guzzle/src/Middleware.php on line 144
ooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\DotNotation::transform(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/DotNotation.php on line 27
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\DotNotation::validate(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/DotNotation.php on line 72
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\TransformerInterface::transform(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/TransformerInterface.php on line 24
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\TransformerInterface::validate(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/TransformerInterface.php on line 33
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\ArrayColumn::transform(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayColumn.php on line 26
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\ArrayColumn::validate(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayColumn.php on line 41
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\ArrayKeys::transform(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayKeys.php on line 23
Deprecated: Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers\ArrayKeys::validate(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayKeys.php on line 38
I updated the hosting package, which definitely helped speed things up, I also solved some issues with several plugins that weren’t updating and I disabled some others that weren’t really doing much to the website. I have cleared up the database tables and have cached left and right. I want to believe it has something to do with the hosting provider. They did report an issue with various clusters one of which was ours.
Speaking of, would you recommend disabling plugins through via FTP? I was thinking I could disable one by one and see how the dashboard reacts.
Thanks again for all your help!
The error messages mostly refer to the commercial version of WP Staging that you are using. Since we cannot support commercial products here in the forum, I would recommend that you contact their support for clarification: https://wp-staging.com/your-account/
To test the effect of plugins, you can deactivate them via FTP. I would recommend that you create a backup of the project before doing this.
This plugin can also be helpful in the analysis: https://wordpress.org/plugins/health-check/ – there you can deactivate all plugins in your session and test the effect.
@threadi, I contacted them, but they are slow. I will keep trying to troubleshoot. Thank you for all your help.
@threadi,
I was able to work on the site locally and noticed that the WooCommerce plugins significantly slow down the dashboard—particularly Bookings/Appointments, Gift Cards, PayPal Payments, Google Reviews, and Smash Balloon Instagram. After deactivating them locally, the dashboard performance improved.
However, when I deactivated them one by one on the Live site, the lag persisted. This suggests there might be additional factors affecting performance. Do you have any insights or recommendations on further troubleshooting?
Check Tools > Site Health to see what recommendations WordPress generally provides.
If a caching plugin is used, not only deactivate it but also check the wp-config.php
and .htaccess
files to see if there are any remnants of it left. Possibly also in wp-content/advanced-cache.php
or wp-content/object-cache.php
.
Deactivate all plugins and then activate them one by one, possibly starting with WooCommerce as many other plugins in the project seem to depend on it.
@threadi, hi again! I have not been able to identify what exactly is going on. I performed all these steps and nothing. The website is running after I enable WP_DEBUG. However, the dashboard is still struggling to load.
I am hoping to the hosting provider will have someone onboard who can assist me because I am not sure what else to do and my client is getting anxious.
@threadi , the dashboard is now loading. At the Plugins > Add Plugin page, I received the following message:
Warning: plugins_api(): An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/tothvioldj/www/wp-includes/functions.php on line 6114
Deprecated: ElementorProDeps\DI\create(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/functions.php on line 32
Deprecated: ElementorProDeps\DI\autowire(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/functions.php on line 44
Deprecated: ElementorProDeps\DI\ContainerBuilder::writeProxiesToFile(): Implicitly marking parameter $proxyDirectory as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/ContainerBuilder.php on line 231
Deprecated: ElementorProDeps\DI\Definition\Source\ReflectionBasedAutowiring::autowire(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Source/ReflectionBasedAutowiring.php on line 17
Deprecated: ElementorProDeps\DI\Definition\Source\Autowiring::autowire(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Source/Autowiring.php on line 21
Deprecated: ElementorProDeps\DI\Definition\Source\DefinitionFile::__construct(): Implicitly marking parameter $autowiring as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Source/DefinitionFile.php on line 25
Deprecated: ElementorProDeps\DI\Definition\Source\DefinitionArray::__construct(): Implicitly marking parameter $autowiring as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Source/DefinitionArray.php on line 33
Deprecated: ElementorProDeps\DI\Definition\Source\DefinitionNormalizer::normalizeRootDefinition(): Implicitly marking parameter $wildcardsReplacements as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Source/DefinitionNormalizer.php on line 42
Deprecated: ElementorProDeps\DI\Proxy\ProxyFactory::__construct(): Implicitly marking parameter $proxyDirectory as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Proxy/ProxyFactory.php on line 38
Deprecated: ElementorProDeps\DI\Container::__construct(): Implicitly marking parameter $definitionSource as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Container.php on line 87
Deprecated: ElementorProDeps\DI\Container::__construct(): Implicitly marking parameter $proxyFactory as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Container.php on line 87
Deprecated: ElementorProDeps\DI\Container::__construct(): Implicitly marking parameter $wrapperContainer as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Container.php on line 87
Deprecated: ElementorProDeps\DI\Definition\ObjectDefinition::__construct(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/ObjectDefinition.php on line 62
Deprecated: ElementorProDeps\DI\Definition\ObjectDefinition::setClassName(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/ObjectDefinition.php on line 75
Deprecated: ElementorProDeps\DI\Definition\ObjectDefinition::setLazy(): Implicitly marking parameter $lazy as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/ObjectDefinition.php on line 158
Deprecated: ElementorProDeps\DI\Definition\Resolver\ObjectCreator::setPrivatePropertyValue(): Implicitly marking parameter $className as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Resolver/ObjectCreator.php on line 158
Deprecated: ElementorProDeps\DI\Definition\Resolver\ParameterResolver::resolveParameters(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Resolver/ParameterResolver.php on line 34
Deprecated: ElementorProDeps\DI\Definition\Resolver\ParameterResolver::resolveParameters(): Implicitly marking parameter $method as nullable is deprecated, the explicit nullable type must be used instead in /home/tothvioldj/www/wp-content/plugins/elementor-pro/vendor_prefixed/php-di/php-di/src/Definition/Resolver/ParameterResolver.php on line 34
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
The REST API did not process the context
query parameter correctly.
Please contact your server administrator.
Have you already spoken to him? It is the support of your hoster. Because apparently WordPress can’t “phone” outside. This seems to be blocked by the hoster.
The deprecated messages are only hints, not errors. They refer to the commercial Elementor Pro plugin you are using. If you have any questions, please contact their support: https://elementor.com/support/