• Resolved AlpineAthena

    (@alpineathena)


    array_shift() [function.array-shift]: The argument should be an array in /home1/alpinea1/public_html/wp-content/plugins/custom-contact-forms/modules/widget/custom-contact-forms-dashboard.php on line 22

    How did I fix this warning message?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having the same issue. Just updated WP Simple Paypal Shopping cart and Custom Contact Forms.

    I also had this problem and thought that the array may not have been defined properly, so I changed line 21 of /wp-content/plugins/custom-contact-forms/modules/widgetcustom-contact-forms-dashboard.php from $user_roles = $current_user->roles;
    to this
    $user_roles = array($current_user->roles);

    Then there were no more of those errors.

    Could one of you send the error to Taylor Lovett (https://www.taylorlovett.com/wordpress-plugins/) the developer as I don’t have time today.

    Shadow

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to solve array_shift () warning’ is closed to new replies.