WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
Error msg: Warning: Creating default object from empty value in (9 posts)

  1. Caps
    Blocked
    Posted 2 years ago #

    Warning: Creating default object from empty value in /wp-content/plugins/paid-memberships-pro/preheaders/checkout.php on line 347

    PMP Version 1.3.12

    http://wordpress.org/extend/plugins/paid-memberships-pro/

  2. Caps
    Blocked
    Posted 2 years ago #

    "Security header is not valid"

  3. strangerstudios
    Member
    Plugin Author

    Posted 2 years ago #

    Fixed in the next version to go out (1.3.13).

    I added this line at 347 of that file:
    $morder->billing = new stdClass();

    In the meantime, you patch that or lower your error settings on your site to hide the warning.

    Thanks!

  4. Caps
    Blocked
    Posted 2 years ago #

    Ok, the php errors are gone however I still get: Security header is not valid

    The transaction will not proceed. :(

  5. strangerstudios
    Member
    Plugin Author

    Posted 2 years ago #

    Caps, check the following:

    (1) That you SSL enabled on your server if you are doing PayPal Website Payments Pro

    (2) That you are using the correct API Login/Password for your gateway.

    (3) That you have selected the correct gateway environment (test/live).

    (4) If you are using PayPal on a test gateway, make sure you use test creds instead of the live creds and make sure you are logged in to developer.paypal.com.

    Hope this helps.

  6. Caps
    Blocked
    Posted 2 years ago #

    Oh my, it was set for testing - ouch. So that setting reverted back from Live to Testing when I re-activated it.

  7. strangerstudios
    Member
    Plugin Author

    Posted 2 years ago #

    Caps let me know if you have a reproducible error with the gateway environment switching to test when you deactivate/reactivate the plugin. I couldn't get that to happen (it stayed in the live environment for me).

  8. Caps
    Blocked
    Posted 2 years ago #

    I may be mistaken, but after I manually deleted the tables, then reinstalled PMP, the data I had previously used for Paypal gateway. auto populated the gateway window, which includes my API info. Let me test that again.

  9. strangerstudios
    Member
    Plugin Author

    Posted 2 years ago #

    That is true. Most of the settings are stored in the WP options table and are not cleared on deactivation. I'll be working on a true uninstall function soon, but there is not one yet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic