Saltar navegación

[Asignado] debug in views

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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 5 respuestas, tiene 1 mensaje.

Última actualización por martinP-13 5 hours, 55 minutes ago.

Asistido por: Minesh.

Autor
Mensajes
#2823008

hi i have used toolset a long time , i rescently had to remake site as old one was outdated etc etc , since using new set up i have a few issues ,

issue 1 ) if turn on debugging in toolset/ settings /front end and turn on debugging it actually breaks the site pages/posts where toolset is used i get this error There has been a critical error on this website. example enlace oculto

issue 2 if i go into an event where is use views in my backend example enlace oculto

and i have wordpress debuggin turned on i get this error

Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, string given in /var/www/vhosts/gundog.world/httpdocs/wp-content/plugins/wp-views/application/controllers/cache/views/invalidator.php:274 Stack trace: #0 /var/www/vhosts/gundog.world/httpdocs/wp-content/plugins/wp-views/application/controllers/cache/views/invalidator.php(274): array_intersect() #1 /var/www/vhosts/gundog.world/httpdocs/wp-content/plugins/wp-views/application/controllers/cache/views/invalidator.php(217): OTGS\Toolset\Views\Controller\Cache\Views\Invalidator->invalidate_cache_per_domain() #2 /var/www/vhosts/gundog.world/httpdocs/wp-includes/class-wp-hook.php(324): OTGS\Toolset\Views\Controller\Cache\Views\Invalidator->should_invalidate_cache() #3 /var/www/vhosts/gundog.world/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /var/www/vhosts/gundog.world/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/vhosts/gundog.world/httpdocs/wp-includes/load.php(1304): do_action() #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /var/www/vhosts/gundog.world/httpdocs/wp-content/plugins/wp-views/application/controllers/cache/views/invalidator.php on line 274

issue 3
in toolset setting on old setup i have bootstrap 3 selected . on the new set up i dont know what bootstrap setting i need to use ion toolset settings

many thanks , i can give you a login if you require wp backend

#2823166

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

The site you shared is a production site and we do not recommond deep debugging on the production site.

Can you please share staging site first and then try to follow the following steps:

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference? if no:

I see you are using PHP 8.3.x - what if you try to downgrade the PHP version to PHP 8.2.x - Do you see it working? If no:

Can you please send me staging site admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2823441

thanks for the answer ,
i have downgraded to php 8.2 , this made no difference ,
staging site is causing me all kinds of head ache on my server ill get it sorted asap.
could you clarify , if tooset views debug is active , does wp debug HAVE to be enablesd also ?
please set next reply private so i can send you stage login details

many thanks
martin

#2823454

issue 2 is resolved i cleared the views caches and it removed the error thanks

#2824083

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Can you please share staging site access details and also share exact steps I will have to follow in order to see the issue #1.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2824107
#2824108

i also have made a full backup of site and database ,thanks