When visiting the paid content tab on the user account page and the user has no paid content I'm getting the following blocking errors:
Notice: Trying to get property of non-object in ms_products_user_purchases_page() (line 1071 of /var/www/qa/sitefolder/site/sites/all/modules/contrib/moneysuite/ms_core/ms_products/ms_products.purchases.inc).
Notice: Trying to get property of non-object in ms_products_user_purchases_page() (line 1071 of /var/www/qa/sitefolder/site/sites/all/modules/contrib/moneysuite/ms_core/ms_products/ms_products.purchases.inc).
Recoverable fatal error: Argument 1 passed to ms_products_get_modify_options() must be an instance of MsProductsPlan, boolean given, called in /var/www/qa/sitefolder/site/sites/all/modules/contrib/moneysuite/ms_core/ms_products/ms_products.purchases.inc on line 1136 and defined in ms_products_get_modify_options() (line 40 of /var/www/qa/sitefolder/site/sites/all/modules/contrib/moneysuite/ms_core/ms_products/ms_products.plans.inc).
Comments
Comment #2
Farreres commentedIs there any product plan created in the website when this error happens?