Skip Navigation

[Resolved] Fatal error: Uncaught Error: Interface 'OTGS\Toolset\Views\Models\Translation\Re

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by kristelv 4 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#2175177

I am trying to activate the following 2 plugins:
* Toolset Blocks Version 1.6.1
* Toolset Views Version 3.6.1

Link to a page where the issue can be seen:
hidden link

Extra info: website is behind a login:
Username: zdb
Pwd: ZDB!2021

I expected to see:
Plugin activated successfully

Instead, I got:

Fatal error: Uncaught Error: Interface 'OTGS\Toolset\Views\Models\Translation\RegisterAndStore\Block\Domain\IRepository' not found in /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/wp-views/application/models/Translation/RegisterAndStore/Block/Infrastructure/Repository/WordPressRepository.php:26 Stack trace: #0 /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/wp-views/vendor/toolset/toolset-common/utility/autoloader.php(119): include_once() #1 [internal function]: Toolset_Common_Autoloader->autoload('OTGS\\Toolset\\Vi...') #2 [internal function]: spl_autoload_call('OTGS\\Toolset\\Vi...') #3 /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct('OTGS\\Toolset\\Vi...') #4 /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/CachingReflector.php(73): OTGS\Toolset\Common\Auryn\StandardReflector->get in /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/wp-views/application/models/Translation/RegisterAndStore/Block/Infrastructure/Repository/WordPressRepository.php on line 26

Fatal error: Uncaught Error: Interface 'OTGS\Toolset\Views\Models\Translation\RegisterAndStore\Block\Domain\IRepository' not found in /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/toolset-blocks/application/models/Translation/RegisterAndStore/Block/Infrastructure/Repository/WordPressRepository.php:26 Stack trace: #0 /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/utility/autoloader.php(119): include_once() #1 [internal function]: Toolset_Common_Autoloader->autoload('OTGS\\Toolset\\Vi...') #2 [internal function]: spl_autoload_call('OTGS\\Toolset\\Vi...') #3 /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct('OTGS\\Toolset\\Vi...') #4 /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/lib/auryn/lib/CachingReflector.php(73): OTGS\Toolset\Common\Aury in /var/www/vhosts/zdb.local/dev.zdb.local/wp-content/plugins/toolset-blocks/application/models/Translation/RegisterAndStore/Block/Infrastructure/Repository/WordPressRepository.php on line 26

#2175659

Hi,

Thank you for contacting us and I'd be happy to assist.

I tried to log in to the website's admin area, but the username/password didn't work.

An error message like this can appear if, some of the plugin files are either missing or corrupt.

To fix this, I'll recommend the following steps:

1. Please delete the existing Toolset Views plugin, so that the error message doesn't appear.

2. Next, make sure that WordPress, active theme, and all plugins are updated to the latest versions.

3. Toolset Views and Blocks are the same plugins at the core, therefore only one of them can be activated on the website. Toolset Blocks plugin is newer and contains all the features included in the Toolset Views plugin, so you can install and activate the latest Toolset Blocks plugin (and not the Toolset Views).

4. In case the issue still persists, I'll need access to the website's admin area and you're welcome to share temporary admin login details, in reply to this message.

Please let me know how it goes and I've set your next reply as private.

regards,
Waqar

#2175825

Thanks, it's working. I think that a corrupt file was indeed the cause.

For your knowledge base records:

Regarding the WP Views plugin: after the upgrade that resulted into this fatal error there was a red button on the Toolset dashboard telling me that I needed to download it... However after removing all Toolset the plugins and reinstalling the newly downloaded zipfiles there was no red button anymore saying I needed WP Views.