Skip Navigation

[Closed] Not load image to site error

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.

This topic contains 3 replies, has 3 voices.

Last updated by Christopher Amirian 2 months, 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2745677

I am trying to: Upload image to wordpress

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

#2745695

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

We don't have other reports of the same, and I don't see such errors on my own site.

Do you have details of the full error stack rather than just the line you shared above?

When you say the error occurs when you upload and image to WordPress, where does this happen?

Directly in the Media library in the back end? Inserting an image into a post being edited in the back end? In the front end?

#2745988
Screenshot_24.png
Screenshot_23.png

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.

#2746652

Christopher Amirian
Supporter

Languages: English (English )

Hi,

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.