• Resolved Macka007

    (@macka007)


    Since upgrading to 4.5.3.0, the following message appears on top of all wp-admin pages. It also appears in some widgets on the dashboard.

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

    The following page provided a fix: https://www.ads-software.com/support/topic/how-to-solve-array_shift-warning

    Further more, the widget on the dashboard disappeared; when attempting to make it visible to all users except subscribers, I was presented with another error and no way to access the admin panel.

    Fatal error: Call to a member function get_names() on a non-object in /wp-content/plugins/custom-contact-forms/modules/db/custom-contact-forms-db.php on line 401

    I have had to rename the plugin folder to force WP to disable the plugin.

    Adding the following before the call to get_names() seems to resolve the problem:

    if ( ! isset( $wp_roles ) ) {
        $wp_roles = new WP_Roles();
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • sorted now :o) right?

    Thread Starter Macka007

    (@macka007)

    yup, I believe so, but I’ll see how it goes.

    Hey jakslev. It seems you have had some success with the Custom Contact Forms plugin. I want to create a checkbox list using the plugin? I’m having trouble figuring out how to create the list. This should be simple. Maybe you know now. Please help if you can.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Contact Forms broken’ is closed to new replies.