Error when saving plugin settings
-
I am getting this error when I try to save the plugin settings for sandbox testing.
There has been a critical error on this website. Please check your site admin email inbox for instructions.
-
Hi there, please tell me more about this error. You can contact us by Email [email protected]
You may also drop me a screenshot of the plugin settings here in Forum.
-
This reply was modified 3 years, 11 months ago by
ClickOn GmbH.
-
This reply was modified 3 years, 11 months ago by
ClickOn GmbH.
@mstonys
Per the plugin developer guidelines, “if you’re helping people in the free forums, you are expected to help them in the forums.”If you really want to move support away from the forums please note that in your plugin’s README.TXT and a pinned post in your support area on wp.org, but consider helping in the forums to help educate the community and ensure future people can find the solution without hassling you. This is COMMUNITY support and part of being a member of the community is provide support publicly and openly whenever possibleThis looks like all payments are not working, very strange. I advise to do:
1. Please check the error log, paste the screenshot here
2. Disable MTN MoMo plugin and check under payments again, to see if it loads
3. Make sure you have the latest version of WordPress installedNo, this error only appears when I try to access the plugin settings.
Here is the log:
Fatal error: Uncaught TypeError: Unsupported operand types: string - string in /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/pay-with-mtn-momo-woocommerce/classes/class_momo_pay_view.php:198 Stack trace: #0 /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/pay-with-mtn-momo-woocommerce/classes/class_momo_pay_gateway.php(249): WC_MomoPay_View::createFinishBox() #1 /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(104): WC_MomoPay_Gateway->admin_options() #2 /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(87): WC_Settings_Payment_Gateways->run_gateway_admin_options() #3 /var/www/vhosts/weddingniceties.com/httpdocs/wp-includes/class-wp-hook.php(307): WC_Settings_Payment_Gateways->output() #4 /var/www/vhosts/weddingniceties.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /var/www/vhosts/weddingniceties.com/httpdocs/wp-includes/plugin.php(474): WP_Hook->do_action() #6 /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action() #7 /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(153): include('...') #8 /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(280): WC_Admin_Settings::output() #9 /var/www/vhosts/weddingniceties.com/httpdocs/wp-includes/class-wp-hook.php(307): WC_Admin_Menus->settings_page() #10 /var/www/vhosts/weddingniceties.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #11 /var/www/vhosts/weddingniceties.com/httpdocs/wp-includes/plugin.php(474): WP_Hook->do_action() #12 /var/www/vhosts/weddingniceties.com/httpdocs/wp-admin/admin.php(259): do_action() #13 {main} thrown in /var/www/vhosts/weddingniceties.com/httpdocs/wp-content/plugins/pay-with-mtn-momo-woocommerce/classes/class_momo_pay_view.php on line 198Wordpress is up to date
I see the problem, let me do the fix for you.
We just made a new release v1.0.4, please upgrade and check if it works for you!
Thanks, works now!
I have some questions regarding how the plugin works, I sent a message to you on Skype I hope we can chat about it, thanks! -
This reply was modified 3 years, 11 months ago by
The topic ‘Error when saving plugin settings’ is closed to new replies.