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!
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.
Still getting the error even after cleaning the cache of views.
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/
I can download the files, will update here if find anything
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
I'm not really sure, since it appears everytime I save pages.
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
Here's a sample page: hidden link
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