Skip Navigation

[Resolved] Editors cannot edit anything

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 2 replies, has 1 voice.

Last updated by Minesh 2 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2785175

Got the following message saying there is a fatal error involving Access:

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7
Active theme: Astra (version 4.8.3)
Current plugin: Toolset Access (version 2.9.1)
PHP version 8.1.30

Error Details
=============
An error of type E_ERROR was caused in line 484 of the file /var/web/site/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php. Error message: Uncaught Error: Object of class WP_Block_Editor_Context could not be converted to string in /var/web/site/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:484
Stack trace:
#0 /var/web/site/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php(444): OTGS\Toolset\Access\Controllers\PermissionsPostTypes->set_post_type_permissions(Array, Object(WP_User), Array, Array, Array, Array)
#1 /var/web/site/public_html/wp-content/plugins/types-access/application/models/capabilities.php(644): OTGS\Toolset\Access\Controllers\PermissionsPostTypes->get_post_type_caps(Array, Array, Array, Object(WP_User), 'edit')
#2 /var/web/site/public_html/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(537): OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions(Array, Array, Array, Object(WP_User))
#3 /var/web/site/public_html/wp-includes/class-wp-hook.php(324): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User))
#4 /var/web/site/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#5 /var/web/site/public_html/wp-includes/class-wp-user.php(813): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User))
#6 /var/web/site/public_html/wp-includes/capabilities.php(1018): WP_User->has_cap('edit_block_bind...', Object(WP_Block_Editor_Context))
#7 /var/web/site/public_html/wp-includes/capabilities.php(911): user_can(Object(WP_User), 'edit_block_bind...', Object(WP_Block_Editor_Context))
#8 /var/web/site/public_html/wp-includes/block-editor.php(652): current_user_can('edit_block_bind...', Object(WP_Block_Editor_Context))
#9 /var/web/site/public_html/wp-admin/edit-form-blocks.php(314): get_block_editor_settings(Array, Object(WP_Block_Editor_Context))
#10 /var/web/site/public_html/wp-admin/post.php(187): require('/var/web/site/p...')
#11 {main}
thrown

A website editor also contacted me to say they could not edit anything. When I checked I had no issues.

#2785176

I am sending this on my phone so I will have to add debug info when I get home

#2785191

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

This was a known issue to us and we already fix this issue and the official fix is shipped with the hotfix version.

- we just release hotfix version for Toolset Blocks 1.6.18.
- We also release hotfix version for Toolset Access 2.9.2.

You can download it from your account's download page:
- https://toolset.com/account/downloads/

*** Please make a FULL BACKUP of your database and website.***
Can you please update All Toolset plugins to it's latest official version and I hope this will resolve your issues.