WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
[resolved] Trying to get property of non-object .... (5 posts)

  1. Daniel Payne
    Member
    Posted 1 year ago #

    I just installed this plugin, defined Membership Levels, added the auto Pages, selected PayPal Standard for Payment Gateway, setup my From Email, visited the Membership Levels page and selected one of the levels, saw the PayPal payment page. I'm using the Twenty Eleven theme, and evaluating membership plugins.

    Then I went back to my site and tried to visit the Membership Account page and get this error in the header (then a white screen):

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/account.php on line 32

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/account.php:32) in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-includes/pluggable.php on line 876

    Visiting the Membership Invoice page shows in the header (then white screen):

    Notice: Undefined index: invoice in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/invoice.php on line 5

    Notice: Use of undefined constant PMPRO_FLAG_NO_INVOICE_REDIRECT - assumed 'PMPRO_FLAG_NO_INVOICE_REDIRECT' in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/invoice.php on line 9

    Visiting the Membership Confirmation page shows in the header (then white screen):

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/confirmation.php on line 5

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/confirmation.php:5) in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-includes/pluggable.php on line 876

    Notice: Indirect modification of overloaded property WP_User::$membership_level has no effect in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/confirmation.php on line 9

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 124

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 124

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 124

    The Membership Checkout page show the 4 levels OK.

    The Membership Cancel page shows in the header (then a white screen):

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/cancel.php on line 8

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/preheaders/cancel.php:8) in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-includes/pluggable.php on line 876

    Visiting the Membership Billing page shows in the page:

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 132

    Notice: Trying to get property of non-object in /homepages/46/d271605949/htdocs/tualatinweb/wordpress/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 132
    This subscription is not recurring. So you don't need to update your billing information.

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

  2. strangerstudios
    Member
    Plugin Author

    Posted 1 year ago #

    Those are all generally benign warnings and notices. If you turn off output of PHP warnings and notices, you should be good to go.

    I will still look into them and try to tighten up the code so they don't get output like that (and potentially aren't symptoms of something worse). It's kind of a cat and mouse game to nail these down. I appreciate you sharing.

    What kind of server are you hosted on? What OS? Version of PHP? What company and plan?

  3. Daniel Payne
    Member
    Posted 1 year ago #

    I'm hosted at 1and1, Linux, PHP 5.2.17.

    I can understand about warning and notices, however what is causing the white screens?

  4. PMPro-Lisa
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Daniel,

    A white screen is not a typical occurrence and would generally signify a php error.
    The best way for us to handle anything specific to your host and set up would be for you to contact us http://www.paidmembershipspro.com/contact/

    If you would like more guidance or hands on help implementing this solution with Paid Memberships Pro, please sign up at http://www.paidmembershipspro.com/pricing.

  5. Daniel Payne
    Member
    Posted 1 year ago #

    Lisa,
    When a plugin fails like this, I simply move on and find another one that works or code my own. So, it's too late now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.