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"
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.
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.
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