• Resolved andreu

    (@andreu)


    Hi!

    I’ve installed and configured the plugin to work with my PHPList newsletter. I want to use the checkbox in my register form but I get the following error when I try to register with the plugin enabled:

    Catchable fatal error: Object of class Newsletter_SignUp could not be converted to string in /usr/home/ociofree.com/web/wp-content/plugins/newsletter-sign-up/php/frontend.php on line 96

    In the line 96 I’ve found: $variables['list['.$$this->options['phplist_list_id'].']'] = 'signup';, I’ve removed one of the two $ and now the error is not appearing. Anyway, my form is still not working, the users are not being added to the PHPList list and I don’t know why.

    Any ideas of how can I test it to see where is the problem? Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi!

    Woah, stupid typo from my side. Sorry for that, fixed it in v1.1.2+. Make sure you’ve set all the values that would appear in a normal sign-up form, use the additional data fields for that.

    If it’s still not working, try adding echo in front of wp_remote_post on line 179 of the file frontend.php (v1.1.2). This prints the result page so you can check for any errors.

    Hope that’ll give you an idea on where to start!

    Thread Starter andreu

    (@andreu)

    Ok, thanks for your fast answer. I’ll try it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Newsletter Sign-Up] Catchable fatal error’ is closed to new replies.