Saltar navegación

[Resuelto] Error from Types and View plugins suddenly took down site

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
The user was encountering PHP errors with Toolset Types and Views.

Solution:
It turned out that the installed plugins were not complete. The errors disappeared after reinstalling the plugins.

This support ticket is created hace 4 años, 4 meses. 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: Africa/Casablanca (GMT+01:00)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Timothy hace 4 años, 4 meses.

Asistido por: Jamal.

Autor
Mensajes
#1907223

I received an email from my ste " Your Site is Experiencing a Technical Issue". I was able to access with "recovery mode" and on Plugins page this error was showing for both Types and Views plugins:

This plugin failed to load properly and is paused during recovery mode.

An error of type E_ERROR was caused in line 422 of the file /var/www/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php. Error message: Uncaught ReflectionException: Class OTGS\Toolset\Views\Controller\Cache\Meta\Post does not exist in /var/www/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php:29 Stack trace: #0 /var/www/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct('OTGS\\Toolset\\Vi...') #1 /var/www/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/CachingReflector.php(73): OTGS\Toolset\Common\Auryn\StandardReflector->getParamTypeHint(Object(ReflectionMethod), Object(ReflectionParameter)) #2 /var/www/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(527): OTGS\Toolset\Common\Auryn\CachingReflector->getParamTypeHint(Object(ReflectionMethod), Object(ReflectionParameter)) #3 /var/www/wp-content/plugins/wp-views/vendor/toolset/toolset-common/lib/auryn/lib/Injector.php(474): OTGS\Toolset\Common\Auryn\Injector->buildArgFromTypeHint(Object(ReflectionMethod), Object(Re

I switched themes and the error persists.

Tim

#1907225

So I reinstalled Types and Views plugins and errors are gone... guess it was just a glitch?

#1907411

Hello Tim and thank you for contacting the Toolset support.

I also think that the first install of the Toolset Views plugin was not complete. After reinstalling it, the plugin's files were all there and the issue disappeared.

Thank you for using our plugins. Feel free to open a new ticket or chat for any question or issue regarding Toolset.

#1909151

My issue is resolved now. Thank you!