Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1023846

    Hi dear Kriesi-Support-Team
    My update to 4.5 over FTP works but by creating a new token-key and verryfying at the Them-Site i’ve got the following message:
    Warning: array_flip() [function.array-flip.php]: Can only flip STRING and INTEGER values! in /home/baumgar/www/autel-roadshow.ch/wp/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 1571
    So what can/should i do??

    Can you pleas help me, thanks allot in advance
    Beat regards, Werner

    #1023867

    I guess it has nothing to do with the token, but maybe with the PHP-dokument – here the snippet:

    /**
    * Returns a selectbox of available menus
    * In case you need extra options in front add them to subtype array. Menus will be appended.
    *
    * @since 4.5
    * @added_by Günter
    * @param array $element
    * @return string
    */
    public function select_menu( array $element )
    {
    $locations = get_registered_nav_menus();
    $menu_locations = array_flip( get_nav_menu_locations() );
    $nav_menus = wp_get_nav_menus();

    if( ! isset( $element[‘subtype’] ) || ! is_array( $element[‘subtype’] ) )
    {
    $element[‘subtype’] = array();
    }

    foreach( $nav_menus as $menu )
    {
    $key = wp_html_excerpt( $menu->name, 40, ‘…’ );
    if( isset( $menu_locations[ $menu->term_id ] ) )
    {
    if( isset( $locations[ $menu_locations[ $menu->term_id ] ] ) )
    {
    $key .= ‘ (–> ‘ . wp_html_excerpt( $locations[ $menu_locations[ $menu->term_id ] ], 70, ‘…’ ) . ‘)’;
    }
    }

    $element[‘subtype’][ $key ] = $menu->term_id;
    }

    return $this->select( $element );
    }

    Is here anything wrong?

    Regards, Werner

    #1024186

    Hello,

    Same problem with my backend after updating in 4.5…

    Thanks in advance for your help.

    Jul

    #1024615

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.