This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago ago by Robert Hall
Hi,
while translating and fine-tuning my site i discovered i can no longer access my Theme Options page (wordpress/woocommerce). The shopping cart itself works, but in Admin panel when i click on Theme Options, i get error message:
Warning: Invalid argument supplied for foreach() in /mnt/data/accounts/k/koolio/data/www/MimiMami_WP/wp-content/themes/legenda/option-tree/includes/ot-settings-api.php on line 186
line 186 has the ‘foreach’ element in this block:
/* set up the help tabs */
if ( ! empty( $page[‘contextual_help’][‘content’] ) ) {
foreach( $page[‘contextual_help’][‘content’] as $contextual_help ) {
$screen->add_help_tab(
array(
‘id’ => esc_attr( $contextual_help[‘id’] ),
‘title’ => esc_attr( $contextual_help[‘title’] ),
‘content’ => htmlspecialchars_decode( $contextual_help[‘content’] ),
)
);
}
}
I’m stuck, help pin-point this please. I tried copying over the modified files from the download archive but no luck. Need to find out where the issue is.
Thanks !
never mind. just figured it out. apologies 🙁
Hello,
We’re glad to hear it.
If you have any questions feel free to contact us.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up