Skip Navigation

[Closed] Getting an Error

This support ticket is created 2 years, 5 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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/Hong_Kong (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by Luo Yang 2 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#2386003
Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, string given in /home/acceleratingbiz/beta.acceleratingbiz.com/wp-content/plugins/toolset-blocks/application/controllers/cache/views/invalidator.php:274

Stack Trace
1.	
array_intersect('', Array)
/home/acceleratingbiz/beta.acceleratingbiz.com/wp-content/plugins/toolset-blocks/application/controllers/cache/views/invalidator.php:274
2.	
OTGS\Toolset\Views\Controller\Cache\Views\Invalidator->invalidate_cache_per_domain('posts', Array)
/home/acceleratingbiz/beta.acceleratingbiz.com/wp-content/plugins/toolset-blocks/application/controllers/cache/views/invalidator.php:217
3.	
OTGS\Toolset\Views\Controller\Cache\Views\Invalidator->should_invalidate_cache('')
/home/acceleratingbiz/beta.acceleratingbiz.com/wp-includes/class-wp-hook.php:307
4.	
WP_Hook->apply_filters(NULL, Array)
/home/acceleratingbiz/beta.acceleratingbiz.com/wp-includes/class-wp-hook.php:331
5.	
WP_Hook->do_action(Array)
/home/acceleratingbiz/beta.acceleratingbiz.com/wp-includes/plugin.php:476
6.	
do_action('shutdown')
/home/acceleratingbiz/beta.acceleratingbiz.com/wp-includes/load.php:1102
7.	
shutdown_action_hook()
[internal function]:0
8.	
{main}

Hi, I've been getting this error since I duplicated our website to beta and move from Layouts to Blocks.

Can you please check what is causing this?

Thanks!

#2386157

Hello,

It seems to be same issue as another thread:
https://toolset.com/forums/topic/error-code-thrown-on-form-submit/
Please try these:
Please go to WP Admin -> Toolset -> Views, find the related post views, in column "Frontend output cache", use the clear cache button next to this view, and test again.

#2386281

Still getting the error even after cleaning the cache of views.

#2386291

Please try these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
2) deactivate all other plugins, and switch to WordPress default theme 2022, and test again
3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2388889

I can download the files, will update here if find anything

#2388945

I can install the duplicator package in my localhost, where can I see those PHP error message, please point out the problem page URL and view URL, thanks

#2401577

I'm not really sure, since it appears everytime I save pages.

#2401633
save-page.jpg

I have tried these with your duplicator package, edit pages, click save button, it works fine, see my screenshot save-page.jpg
I don't see any PHP/JS errors.

Is there any missing steps? please provide detail steps to reproduce the same problem, thanks

#2401771

Here's a sample page: hidden link

#2401787
save-page-4.jpg
save-page-3.jpg

I have tried to edit the page you mentioned above in my localhost, it works fine too(I have tried different editors), see my screenshot edit-page-3.JPG save-page-4.jpg

Is there any missing steps? or you can provide a test site with the same problem, fill below private message box with login details + FTP/SFTP access, I need to debug it in a live website, thanks

The topic ‘[Closed] Getting an Error’ is closed to new replies.