Juan Martínez Alonso
Forum Replies Created
-
Hi @carlarrj You can find it in the plugin installation directory which is usually called “woocommerce-product-addon/backend/options.php” Line 56
Hi all, I got the same issue. It seems the error comes from the 56 Line of backend/options.php when the system tries to call all editable roles and you’re using a SuperAdmin account.
To “solve” the issue substitute the line:
'options' => ppom_get_all_editable_roles(),
with:
'options' => '',
I’d say it’s a patch like any other until you guys find a proper solution. Idk where that function is defined
- This reply was modified 3 years, 7 months ago by Juan Martínez Alonso.
- This reply was modified 3 years, 7 months ago by Juan Martínez Alonso.
I have the same issue it seems to throw it each time we recieve a new order. The main problem here is that neither our customers and the shop manager was recieving confirmation emails of the orders.
I commented the entire foreach of the file um-woocommerce-order.php from line 136 to 140 and now everything works again but i gess the devs should give a better answer than just “ripp off the code and move on”.
As far as i can gess this exception may be caused by tring to assign a role to a customer who has no account because he used the option to pay as a guest.