Instead, I got: Warning: array_intersect(): Expected parameter 1 to be an array, string given in /var/www/www-root/data/www/ ..../wp-content/plugins/toolset-blocks/application/controllers/cache/views/invalidator.php on line 274
The problem occurs when you upload an image directly to media files, and also when you try to upload an image when attaching it to a post. In this case, the images are saved in the media gallery, and you can upload the file when refreshing the page. Previously, the problem was solved by deleting the Views cache, but now it does not disappear.
First screen error: An error occurred while loading. Please try again later.
Would you please test to see if the error happens on a minimal installation?
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
If the problem persists, we willneed the login information of a website copy or staging website for further investigation.
We ant to avoid accessing a live website as the troubleshooting might cause the website to break.
You can add the login info by setting the next reply as private.
Thank you.
The topic ‘[Closed] Not load image to site error’ is closed to new replies.