Fatal error: Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, null given #253
Unanswered
hello-sunshine
asked this question in
Technical Help
Replies: 1 comment
-
Hi @hello-sunshine, If you still need help with this, please open a Support Ticket (https://oxygenbuilder.com/support), and provide a staging environment where we can see the problem. We'll be glad to assist further. If you can also include a link to this discussion in that ticket, that would be appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I've found today editing any page triggers this fatal error:
Fatal error: Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, null given
in /wp-content/plugins/oxygen/component-framework/includes/conditions.php on line 743
Call stack:
in_array()
wp-content/plugins/oxygen/component-framework/includes/conditions.php:743
OxygenConditions::session_variables_callback()
wp-content/plugins/oxygen/component-framework/includes/conditions.php:309
OxygenConditions::global_conditions_result()
wp-content/plugins/oxygen/component-framework/components/component.class.php:3772
CT_Component::validate_shortcode()
wp-content/plugins/oxygen/component-framework/components/classes/text-block.class.php:36
CT_Text_Block::add_shortcode()
wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:227
do_shortcode()
wp-content/plugins/oxygen/component-framework/components/classes/tab.class.php:47
Oxy_Tab_Component::add_shortcode()
wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:227
do_shortcode()
wp-content/plugins/oxygen/component-framework/components/classes/tabs.class.php:61
Oxy_Tabs::add_shortcode()
wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:227
do_shortcode()
wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php:48
CT_DIV_Block::add_shortcode()
wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:227
do_shortcode()
wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php:48
CT_DIV_Block::add_shortcode()
wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:227
do_shortcode()
wp-content/plugins/oxygen/component-framework/components/classes/section.class.php:70
CT_Section::add_shortcode()
wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:227
do_shortcode()
wp-content/plugins/oxygen-gutenberg/oxygen-gutenberg.php:184
Oxygen_Gutenberg::current_screen()
wp-includes/class-wp-hook.php:308
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/includes/class-wp-screen.php:424
WP_Screen::set_current_screen()
wp-admin/includes/screen.php:243
set_current_screen()
wp-admin/admin.php:212
require_once()
wp-admin/post.php:12
We are running oxygen 4.4, I've upgraded to 4.5 and downgraded to 4.3 with no difference, I've tried a few more things (uninstalling plugins etc) but nothing works. It seems yesterday's backup of the website hasn't got this issue.
I was wondering if anyone has seen this issue before? I'd like to make sure we don't end up in this scenario again.
Thanks for any help
Olga
Beta Was this translation helpful? Give feedback.
All reactions