• Resolved Seb

    (@ssamyn)


    Hi,

    When I create a new sign-up, I get a blank page with the following error:

    Error thrown
    Cannot use object of type WP_Error as array

    The sign-up is however created but every time I get the same error, without more information.

    WordPress: 5.2.17
    Volunteer Sign Up Sheets: 4.3.0
    Volunteer Sign Up Sheets Customizer Extension: 3.2.3

    Thanks for your help !

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Seb

    (@ssamyn)

    Well, I found the issue was related to a notification plugin and not related to Volunteer Sign Up Sheets plugin. I close the thread.

    Plugin Author DBAR Productions

    (@dbar-productions)

    Sounds like something on your site is throwing an error in the background when you create a signup. I can’t really help you without seeing your PHP error logs to see details of the error and where it is happening. If you don’t know how to access those logs directly, then contact your hosting company and have them look at the error logs and send you the info, especially any errors that were logged around the time when you were creating these signups. Don’t post those publicly here, though, as it may reveal some info about your server that you wouldn’t want hackers to see. You can contact me privately through my web site if you get any good info from the error logs.

    Are you creating these signups on the admin side or the public side?

    My code doesn’t have anything that would be trying to treat the results of a signup as an array (just looks for a “false” value in the result of the database operation failure, or gets the returned ID as an integer when successful). So, it could be another plugin causing the error in the background.

    Plugin Author DBAR Productions

    (@dbar-productions)

    OK… our posts crossed paths. Glad you found the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when creating new sign-up’ is closed to new replies.