Skip Navigation

[Resolved] Can not edit posts after update, fatal error

This thread is resolved. Here is a description of the problem and solution.

Problem:
Can not edit posts after update, fatal error

Solution:
The user was using the outdated PHP version, upgrading the PHP version does the trick.

You can find the proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/can-not-edit-posts-after-update-fatal-error/#post-1172174

Relevant Documentation:
https://wordpress.org/about/requirements/

This support ticket is created 5 years, 4 months ago. 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 -

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

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Valeriia 5 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1171919

Hello,

After update to the last version of WP and Types, we got a fatal error when trying editing posts:

Fatal error: Cannot access private property OTGS\Toolset\Types\Controller\Compatibility\Gutenberg::$post_type_repository in /home///htdocs/www/wp-content/plugins/types/application/controllers/compatibility/Gutenberg.php on line 77

Please advise. Thanks.

#1172174

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I'm running my test site with WordPress 5.0.2 and all latest Toolset plugins on PHP 7.2.X.

I see you are running with the really old version of PHP, even WordPress recommends to use PHP 7.2 or greater. Please check the following link:
=> https://wordpress.org/about/requirements/

Could you please update PHP version on your server to 7.2.X and try to resolve your issue.

#1174110

Hi Minesh,

Upgrading the PHP version helped. Thanks for the suggestion.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.