وردپرس
Conditional Payment Methods for WooCommerce-Pro active breaks the site
Hi.
The plugin has been deactivated by renaming its directory in CPanel.
The problem:
Fatal error: Uncaught TypeError: Unsupported operand types: string - string in /home/arun/public_html/astrologiasonora/wp-content/plugins/conditional-payment-gateways-for-woocommerce-pro/includes/class-alg-wc-cpg-core.php:93 Stack trace: #0 /home/arun/public_html/astrologiasonora/wp-content/plugins/conditional-payment-gateways-for-woocommerce-pro/includes/class-alg-wc-cpg-core.php(140): Alg_WC_CPG_Core->is_equal_float('0', 'Cart\xC3\xA3o de Cr\xC3\xA9...') #1 /home/arun/public_html/astrologiasonora/wp-includes/class-wp-hook.php(324): Alg_WC_CPG_Core->available_payment_gateways(Array) #2 /home/arun/public_html/astrologiasonora/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(333): apply_filters('woocommerce_ava...', Array) #4 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(89): WC_Payment_Gateways->get_available_payment_gateways() #5 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(67): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments::has_gateways() #6 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php(106): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments->is_complete() #7 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(305): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments->can_view() #8 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}(Object(Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments)) #9 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(306): array_filter(Array, Object(Closure)) #10 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(240): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->get_viewable_tasks() #11 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(411): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->is_complete() #12 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(433): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::setup_tasks_remaining() #13 /home/arun/public_html/astrologiasonora/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::menu_task_count('') #14 /home/arun/public_html/astrologiasonora/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /home/arun/public_html/astrologiasonora/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #16 /home/arun/public_html/astrologiasonora/wp-admin/includes/menu.php(161): do_action('admin_menu', '') #17 /home/arun/public_html/astrologiasonora/wp-admin/menu.php(422): require_once('/home/arun/publ...') #18 /home/arun/public_html/astrologiasonora/wp-admin/admin.php(158): require('/home/arun/publ...') #19 /home/arun/public_html/astrologiasonora/wp-admin/plugins.php(10): require_once('/home/arun/publ...') #20 {main} thrown in /home/arun/public_html/astrologiasonora/wp-content/plugins/conditional-payment-gateways-for-woocommerce-pro/includes/class-alg-wc-cpg-core.php on line 93
On the 19th april I asked for urgent help. Up to now no one has given me attention on this issue.
I have tried to do a fresh installation, but it does not work (there should be a tutorial on how to delete the tables of this plugin).
I expect URGENT help to reinstall the plugin and also to configure it to my need.
Server environment information: FILE INFO
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس