Navigation überspringen

[Warten auf die Bestätigung des Benutzers] debug in views

This support ticket is created vor 1 weeks, 1 days. 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
- 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 9 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 2 hours, 41 minutes.

Assistiert von: Minesh.

Author
Artikel
#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 versteckter Link

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

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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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

#2824321

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Ok - I checked and yes I can confirm that when I activate the view's debug mode the page is crashed.

Just to double check with you, I see you are using number of third-party plugins.

In order to minimize the cause of the issue and to ensure there is no conflict with the theme/plugin you use:

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?
- Waht if you downgrade the PHP version to PHP 8.1.x?

If none of the above works, I will require duplicator copy of your site but lets take that step later once you confirm above information.

#2824351

ok my finding are as follows

page used for experiments versteckter Link

2023 theme activated php v8.1.33 php v8.2.29 php v8.3.25
listivo child theme activated php v8.1.33 php v8.2.29 php v8.3.25

if toolset debug is set to on and the pluging "Event Single Page Builder Pro" is turned on also i get the page error

if i leave toolset debug turned on and turn off "Event Single Page Builder Pro" the error goes away.

if i turn back on "Event Single Page Builder Pro" and turn off toolset debugging , the error goes away.

i did have an issue with that plugin , they went into my site and made a fix here is the reply there support gave me
"Thanks so much for sharing the detailed instructions about the issue you’re facing with the organizer template. We’ve applied a temporary fix on your end, so things should work for now. Please note that we’re already working on a permanent solution, and this will be included in our upcoming updates."

so i would say leave this issue for a few days and see what there update brings , hopefully it will help us out!

ill update the ticket once ive updated the plugin

many thanks
martin

#2824354

whilst you have admin access
also i have another huge issue going on , i can not have toolset access and ultimate member activated at the same time , both will work one at a time , but as soon as try to activate the opposite on the site goes to server 500.
any thoughts ?
they are both deactivated as of now and the site is functioning
thanks

#2824456

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Glad to know that the issue was from the "Event Single Page Builder Pro" plugin.

As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the oringial issue reported with this ticket.

I urge you to open a new ticket with every new question you may have. You're welcome to close this ticket and open a new one and share all requried information and we will be happy to help.

Thank you for understanding.