This topic has 4 replies, 2 voices, and was last updated 2 years ago ago by Rose Tyler
Hi,
with debug enabled I get the following warning. Below you find the excerpt from the Callbacks.Php
Could you tell me what the issue is? Thank you
Best regards
Martin
Warning: Undefined Array Key “Offset” In/Home/Www/Pflanzkompass/Wp-Content/Plugins/Et-Core-Plugin/App/Models/Customizer/Theme-Options/Global/Callbacks.Php On Line113
<?php
$col_class = array();
$col_class[] = 'et_col-xs-' . $value['size'];
$col_class[] = 'et_col-xs-offset-' . $value['offset'];
if ( $mobile_part && ( in_array( $value['element'], array(
'main_menu',
'secondary_menu',
'mobile_menu',
'search',
'connect_block'
) ) ) ) {
$col_class[] = 'pos-static';
} elseif ( in_array( $value['element'], array(
'main_menu',
'secondary_menu',
'mobile_menu',
'connect_block'
) ) ) {
$col_class[] = 'pos-static';
}
Hello,
Could you provide temporary wp-admin and FTP access?
Regards
Hi,
thank you, please find it attached
Regards
Hello,
Fixed. The fix will be included in the next update also.
Regards
Tagged: array, callback.php, offset, templates, undefined, woocommerce, wordpress
The issue related to '‘Undefined Array Key “Offset” In callbacks.php’' has been successfully resolved, and the topic is now closed for further responses