Skip Navigation

[Resolved] PHP error relating to the Blocks plugin

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by Alex W 1 week ago.

Assisted by: Minesh.

Author
Posts
#2865166

This site is extremely slow, and it is producing this error whenever a page with a View on it is loaded:

[error] 92000#92000: *8882 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_intersect(): Argument #1 ($array) must be of type array, string given in /www/batsford_471/public/wp-content/plugins/toolset-blocks/application/controllers/cache/views/invalidator.php:274

Is this a known Toolset error?

Thanks

Alex

#2865171

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

The login URL you shared lands on 404 page not found. Can you please send me working wp-admin link.

I have set the next reply to private which means only you and I have access to it.

#2865172

Ah sorry about that. Here you go:
hidden link

Also please note that if you SFTP into the site then the port is 64531 (there was nowhere to add this on the form)

Thanks,

Alex

#2865175

Minesh
Supporter

Languages: English (English )

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

The error you shared indicates one of the caches for the views is stuck in "Invalid" state.

I navigate to:
=> WordPress Dashboard > Toolset > Views, and click the "Clear Cache" button (where exists) available with every view item row on view's listing page and it should fix the issue:
- hidden link

#2865176

Thanks Minesh, I'll be sure to try that fix in the future if this happens again.