PHP 7.4 compatibility notice

Home/Support Forums/Pniber/PHP 7.4 compatibility notice

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #407
    Avatarrwky
    Participant

    Hi there,

    These are in notice state so it’s not urgent, figured it’s nice to tell you about them.

    Deprecated       implode(): Passing glue string after array is deprecated. Swap the parameters   4       +
    wp-content/themes/pniber/includes/controllers/controllers-sidebars.php:59
    Parent Theme
    Deprecated implode(): Passing glue string after array is deprecated. Swap the parameters 1 +
    wp-content/themes/pniber/includes/controllers/controllers-layout.php:46
    Parent Theme
    Deprecated implode(): Passing glue string after array is deprecated. Swap the parameters 1 +
    wp-content/themes/pniber/includes/controllers/controllers-layout.php:85
    Parent Theme
    #408
    LenVan SupportLenVan Support
    Keymaster

    Hi, Rwky.

    Thank you very much, we used php 7.3 and did not see these errors. We will update Pniber over the weekend, where these errors will be fixed.

    If suddenly there is no time to wait for the update, you can create a user “administrator” and send access to the admin panel to the email – [email protected] or manually replace the following:

    file: /wp-content/themes/pniber/includes/controllers/controllers-sidebars.php

    line 46:
    from $fw_sidebar_type = fw_ext_sidebars_get_current_position();
    to $fw_sidebar_type = fw_ext_sidebars_get_current_preset();

    line 49:
    from $sidebar_type = $fw_sidebar_type;
    to $sidebar_type = isset( $fw_sidebar_type['position'] ) ? $fw_sidebar_type['position'] : false;

    line 59:
    from echo implode( $classes, ' ' );
    to echo implode( ' ', $classes );

    file: /wp-content/themes/pniber/includes/controllers/controllers-layout.php

    line 46:
    from echo implode( $classes, ' ' );
    to echo implode( ' ', $classes );

    line 85:
    from echo implode( $classes, ' ' );
    to echo implode( ' ', $classes );

    Best regards, LenVan

    #409
    Avatarrwky
    Participant

    Thank you for the reply, it’s not urgent but since 7.4 is becoming more and more available, I wanted to give you a heads up.

    I’ll wait for the update.

    #411
    LenVan SupportLenVan Support
    Keymaster

    Hi, Rwky.

    Version 2.4 was relised. You can update the theme.

    Best regards, LenVan

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘PHP 7.4 compatibility notice’ is closed to new replies.