Undefined Array Key “Offset” In callbacks.php

This topic has 4 replies, 2 voices, and was last updated 2 years ago ago by Rose Tyler

  • Avatar: kikjou
    Martin
    Participant
    December 16, 2022 at 13:01

    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';
    		}
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 16, 2022 at 13:08

    Hello,

    Could you provide temporary wp-admin and FTP access?

    Regards

    Avatar: kikjou
    Martin
    Participant
    December 16, 2022 at 14:29

    Hi,

    thank you, please find it attached

    Regards

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 16, 2022 at 15:06

    Hello,

    Fixed. The fix will be included in the next update also.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Undefined Array Key “Offset” In callbacks.php’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.