Resolved
Reported for: Toolset Blocks 1.3
Resolved in: Blocks 1.3.1
A previous issue between Types and Blocks means that some existing sites may have been tricked into thinking they need to run a migration from Types 2 to Types 3 relationships, which can be checked by visiting Toolset > Relationships.
On such sites where the migration has not been run, updating to Blocks 1.3 will provoke a fatal PHP error:
PHP Fatal error: Uncaught Error: Class 'Toolset_Relationship_Role' not found in .../wp-content/plugins/toolset-blocks/backend/Services/Bootstrap.php:125
I had this issue with updating Views. I ran the migration and later noticed lots of 502 and 504 errors. CPU use skyrocketed.
I have figured out when the problems are happening:
I have a hierarchical CPT. When a visitor clicks on a child CPT post, the server crashes. Also, when WP-Rocket tries to generate cache. However, parent posts of the same type seem to load fine. Also, it is possible to edit the affected child posts from the dashboard.
I am restoring a backup.
If you haven’t already, could you please file a support ticket in the forum about this and we can follow-up there, as we may need a copy of your site to see the problem.