Home › Toolset Professional Support › [Resolved] After replacing a backup, toolset blocks makes the site crash
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 8 replies, has 1 voice.
Last updated by peterV-17 1 month, 2 weeks ago.
Assisted by: Minesh.
I am trying to:
Use a backup
Link to a page where the issue can be seen: kunstwerken.art
I expected to see:
The website
Instead, I got: critical error. When I disable the toolset blocks plugin, the error disappears. All plugins are at the latest version.
I had this problem before, but this time I don't have a staging site just a backup. https://toolset.com/forums/topic/critical-error-after-replacing-backup/
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 422 van het bestand /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php. Fout bericht: Uncaught ReflectionException: Class "OTGS\Toolset\Views\Controller\Cache\Meta\Post" does not exist in /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php:29
Stack trace:
#0 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct()
#1 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/CachingReflector.php(73): OTGS\Toolset\Common\Auryn\StandardReflector->getParamTypeHint()
#2 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(527): OTGS\Toolset\Common\Auryn\CachingReflector->getParamTypeHint()
#3 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(474): OTGS\Toolset\Common\Auryn\Injector->buildArgFromTypeHint()
#4 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(414): OTGS\Toolset\Common\Auryn\Injector->provisionFuncArgs()
#5 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(373): OTGS\Toolset\Common\Auryn\Injector->provisionInstance()
#6 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/toolset-blocks/application/controllers/main.php(65): OTGS\Toolset\Common\Auryn\Injector->make()
#7 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(324): WPV_Main->initialize_classes()
#8 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/bootstrap.php(107): do_action()
#11 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/bootstrap.php(126): Toolset_Common_Bootstrap->__construct()
#12 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/bootstrap.php(116): Toolset_Common_Bootstrap::get_instance()
#13 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/toolset-blocks/application/controllers/main.php(127): Toolset_Common_Bootstrap::getInstance()
#14 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(324): WPV_Main->initialize_user_editor()
#15 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#16 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#17 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-settings.php(678): do_action()
#18 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-config.php(106): require_once('/home/u171037p2...')
#19 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-load.php(50): require_once('/home/u171037p2...')
#20 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-admin/admin.php(34): require_once('/home/u171037p2...')
#21 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-admin/edit.php(10): require_once('/home/u171037p2...')
#22 {main}
Next OTGS\Toolset\Common\Auryn\InjectionException: Could not make \OTGS\Toolset\Views\Controller\Cache: Class "OTGS\Toolset\Views\Controller\Cache\Meta\Post" does not exist in /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php:422
Stack trace:
#0 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(373): OTGS\Toolset\Common\Auryn\Injector->provisionInstance()
#1 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/toolset-blocks/application/controllers/main.php(65): OTGS\Toolset\Common\Auryn\Injector->make()
#2 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(324): WPV_Main->initialize_classes()
#3 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/bootstrap.php(107): do_action()
#6 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/bootstrap.php(126): Toolset_Common_Bootstrap->__construct()
#7 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/bootstrap.php(116): Toolset_Common_Bootstrap::get_instance()
#8 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-content/plugins/toolset-blocks/application/controllers/main.php(127): Toolset_Common_Bootstrap::getInstance()
#9 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(324): WPV_Main->initialize_user_editor()
#10 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-settings.php(678): do_action()
#13 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-config.php(106): require_once('/home/u171037p2...')
#14 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-load.php(50): require_once('/home/u171037p2...')
#15 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-admin/admin.php(34): require_once('/home/u171037p2...')
#16 /home/u171037p273409/domains/kunstwerken.art/public_html/wp-admin/edit.php(10): require_once('/home/u171037p2...')
#17 {main}
thrown
Hello. Thank you for contacting the Toolset support.
When you say, you replace the backup, what exactly you replaced.
Have you copy the site from one domain to another domain?
Hi,
No I deleted the website and installed it again from direct admin
Well - but what was the source of the site.
You should always use Duplicator or ALL in one WP migration plugin to install site from one domain to another or import the site.
To do the migration you can use one of these 2 plugins.
- https://wordpress.org/plugins/duplicator/
- https://wordpress.org/plugins/all-in-one-wp-migration/
More info:
- https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/
This wasn't a migration. I only placed back a backup copy, right from the direct admin software. The domain and server are the same.
That is strange. Do you have any caching enabled on your serer - if yes, what if you try to disable that.
Also, on what post/page you see critical error or you just do not able to access the whole site?
Hi Minesh,
No, no caching on the server side. We have a caching plugin on the website, but that's deactivated.
The critical error is on the whole site, front- and backend. It happens as soon as you activate the Toolset blocks plugin. 😔
What if you try to delete the existing Blocks plugin and try to reinstall the Toolset Blocks plugin and check if that help you to resolve your issue.
Yes that did the trick! 👌