Skip Navigation

[Resolved] Illegal offset type in isset or empty error when using PublishPress Revisions

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

Problem:
The user has some issues between Toolset Types and Publishpress revisions (formerly Revisionary).

Solution:
There are actually two issues:
- A compatibility issue with Publishpress revisions. We are addressing this and it will be fixed in an upcoming release.
- An issue with PHP8. Currently Toolset is not fully compatible with PHP8, we recommend using the latest version of PHP 7.

This support ticket is created 4 years, 3 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Jamal 4 years ago.

Assisted by: Jamal.

Author
Posts
#2071597
Screenshot from 2021-05-29 01-53-44.png

I'm having a problem that is potentially related to this one: https://toolset.com/forums/topic/warning-illegal-offset-type-in-isset-or-empty-when-using-revisionary/, but all of the plug-ins involved are the latest version.

When I have both Toolset Types and Publishpress revisions (formerly Revisionary) active and I go to the revisions plug-in, I get the following error: "Fatal error: Uncaught Error: Illegal offset type in isset or empty
in [my_server]/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/class.wpcf-post-types.php on line 89", and am unable to use the plugin.

#2071687

Hello and thank you for contacting Toolset support.

I was able to reproduce this issue on a clean install with only Toolset Types and Revisionary plugins.
hidden link

I'll escalate this to our 2nd Tier for further analysis and will get back to you as soon as possible.

#2072661

This issue is now escalated to the developers. However, please note that Toolset is not yet compatible with PHP8. Under the latest release of PHP 7, these errors are not fatal, they are just warnings as you can see in my test site.

Please use PHP7 on your server and let us know if these errors has an impact on the work that you intend to do with the plugins.

#2075629

Thanks so much! I have downgraded to PHP 7 and the error is gone for now. I'm getting some mildly glitchy behavior related to user permissions around revision and custom post types, but nothing super consistent (it might even just be caching problems), so I'm going to call it good enough for now.

#2154321

Hello there! I just want to let you know that this issue has been resolved in the latest updates. We encourage you to update your website after taking a full backup. Please open a new ticket if you need any further assistance.