Navigation überspringen

[Gelöst] PHP error relating to the Blocks plugin

This support ticket is created vor 4 weeks. 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.

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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Alex W vor 4 weeks.

Assistiert von: Minesh.

Author
Artikel
#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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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:
versteckter 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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:
- versteckter Link

#2865176

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