Problems:
I have two problems that seems to be related:
1) when an "editor" try to edit any CPT created with toolset the wordpress crashes.
2) The public page hidden link now when you clic to any title to go to the "single" it shows 404 error. For example hidden link
We haven't done any change to the site and all this has been working for long time.
Permisions problems?
PLease is urgent because we're an official government site and perople is complaining. I'll give you acces but be carefull please because is the PRODUCTION SITE.
To help: wordpress send me this error message:
Un error del tipus E_ERROR s'ha produït a la línia 484 del fitxer
/home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/permissions_post_types.php.
El missatge d'error: Uncaught Error: Object of class
WP_Block_Editor_Context could not be converted to string in
/home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:484
Stack trace:
#0 /home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/permissions_post_types.php(444):
OTGS\Toolset\Access\Controllers\PermissionsPostTypes->set_post_type_permissions()
#1 /home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/models/capabilities.php(644):
OTGS\Toolset\Access\Controllers\PermissionsPostTypes->get_post_type_caps()
#2 /home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(537):
OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions()
#3 /home/elpanoramic/webapps/tjussana/wp-includes/class-wp-hook.php(324):
OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter()
#4 /home/elpanoramic/webapps/tj
TRANSLATED catalan text to english:
"An error of type E_ERROR occurred on line 484 of the file
/home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/permissions_post_types.php.
The error message: Uncaught Error: Object of class
WP_Block_Editor_Context could not be converted to string in
/home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:484
Stack trace:
#0 /home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/permissions_post_types.php(444):
OTGS\Toolset\Access\Controllers\PermissionsPostTypes->set_post_type_permissions()
#1 /home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/models/capabilities.php(644):
OTGS\Toolset\Access\Controllers\PermissionsPostTypes->get_post_type_caps()
#2 /home/elpanoramic/webapps/tjussana/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(537):
OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions()
#3 /home/elpanoramic/webapps/tjussana/wp-includes/class-wp-hook.php(324):
OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter()
#4 /home/elpanoramic/webapps/tj"
best regards,
David

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
I can see the issue and I've escalated in front of our Devs.
*** Please make a FULL BACKUP of your database and website.***
The only workaround for now is to Downgrade the WordPress to previous stable version 6.6.2.
I suggest you should first run a test on staging site and if you see everything works as expected then you should try to downgrade WordPress on your production site.
Hi Minesh, do you think downgrade wordpress to 6.6.2 will solve the problem?
best regards,
David
On my local test installation when I downgrade the WordPress to previous stable version 6.6.2 it works.
*** Please make a FULL BACKUP of your database and website.***
I suggest you should first run a test on staging site and if you see everything works as expected then you should try to downgrade WordPress on your production site.
OK. What is your procedure to downgrade wordpress? I'll do the same way.
thanks,
David
To downgrade the WordPress version, You can use plugins like WP Downgrade:
- https://wordpress.org/plugins/wp-downgrade/
OK I'll try meanwhile the solution arrives.
thanks Minesh.
David
Hi Minesh,
I've downgraded to previous WP stable version 6.6.2 and:
1) editing CPT created with toolset by Editor users WORKS FINE with 6.6.2
2) NOT SOLVED 404 error for public pages like example hidden link
best regards,
David
UPDATE: point 2) error 404 solved with 6.6.2.
Meanwhile the final solution arrives, this is a good solution.
thanks Minesh!
David
I would like to inform you that:
- 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.
Hi Minesh,
It worked. Thanks for your time.
David