Skip Navigation

[Resolved] array_key_exists PHP-Version: 7.4.10

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

Problem:

Get some PHP error when using PHP 7.4.10.

Solution:

The problem is abnormal, please check these:

https://toolset.com/forums/topic/array_key_exists-php-version-7-4-10/#post-1780869

Relevant Documentation:

This support ticket is created 3 years, 6 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: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by bernhardK-4 3 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1780501

I am trying to: Create a New Custom Type

Reason: PHP-Version: Installed: 7.4.10

When saving I get this:
Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /www/htdocs/kuxhp/z.kux.de/wp-content/plugins/types/vendor/toolset/types/embedded/classes/class.wpcf-post-types.php on line 471Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/kuxhp/z.kux.de/wp-content/plugins/types/vendor/toolset/types/embedded/classes/class.wpcf-post-types.php:471) in /www/htdocs/kuxhp/z.kux.de/wp-includes/pluggable.php on line 1296Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/kuxhp/z.kux.de/wp-content/plugins/types/vendor/toolset/types/embedded/classes/class.wpcf-post-types.php:471) in /www/htdocs/kuxhp/z.kux.de/wp-includes/pluggable.php on line 1299

#1780869

Hello,

I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins + PHP 7.4.10, download from:
hidden link

It works fine, there isn't the message you mentioned above.

So the problem is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page UR, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1784393

My issue is resolved now. Thank you!

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