• Resolved intermaillog

    (@intermaillog)


    Hello,

    In Brazil we have a instant payment system called PIX –
    There’s several plugins that work around it
    But for some reason if I activate both a PIX Plugin and Fluid Checkout, everytime I try to access WooCommerce settings or the checkout page, it generates a critical error

    The same error happens on different themes- I tried on Woostify Pro and The GEM

    I’d appreciate your help with this.
    Thanks.

    Xampp’s error log (using ‘Pix por Piggly’ and ‘Fluid Checkout’):

    [Thu Nov 25 10:11:44.188260 2021] [php:error] [pid 5884:tid 1832] [client 127.0.0.1:60964] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function FluidCheckout_Steps::change_payment_gateway_icon_html(), 1 passed in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php on line 303 and exactly 2 expected in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\fluid-checkout\\inc\\checkout-steps.php:2434\nStack trace:\n#0 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): FluidCheckout_Steps->change_payment_gateway_icon_html('https://127.0.0....')\n#1 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(189): WP_Hook->apply_filters('https://127.0.0....', Array)\n#2 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\Core\\Gateway\\PixGateway.php(75): apply_filters('woocommerce_gat...', 'https://127.0.0....')\n#3 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\Core\\Gateway\\PixGateway.php(45): Piggly\\WooPixGateway\\Core\\Gateway\\PixGateway->init_settings()\n#4 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\WP\\Cron.php(83): Piggly\\WooPixGateway\\Core\\Gateway\\PixGateway->__construct()\n#5 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): Piggly\\WooPixGateway\\WP\\Cron->processing()\n#6 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(327): WP_Hook->apply_filters('', Array)\n#7 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(518): WP_Hook->do_action(Array)\n#8 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-cron.php(138): do_action_ref_array('pgly_cron_wc_pi...', Array)\n#9 {main}\n  thrown in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\fluid-checkout\\inc\\checkout-steps.php on line 2434, referer: https://127.0.0.1/muggi/wordpress/wp-cron.php?doing_wp_cron=1637845892.0146510601043701171875
    [Thu Nov 25 10:11:44.264055 2021] [php:error] [pid 5884:tid 1852] [client 127.0.0.1:60959] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function FluidCheckout_Steps::change_payment_gateway_icon_html(), 1 passed in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php on line 303 and exactly 2 expected in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\fluid-checkout\\inc\\checkout-steps.php:2434\nStack trace:\n#0 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): FluidCheckout_Steps->change_payment_gateway_icon_html('https://127.0.0....')\n#1 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(189): WP_Hook->apply_filters('https://127.0.0....', Array)\n#2 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\Core\\Gateway\\PixGateway.php(75): apply_filters('woocommerce_gat...', 'https://127.0.0....')\n#3 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\Core\\Gateway\\PixGateway.php(45): Piggly\\WooPixGateway\\Core\\Gateway\\PixGateway->init_settings()\n#4 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-wc-payment-gateways.php(97): Piggly\\WooPixGateway\\Core\\Gateway\\PixGateway->__construct()\n#5 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()\n#6 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()\n#7 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-woocommerce.php(885): WC_Payment_Gateways::instance()\n#8 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-woocommerce.php(162): WooCommerce->payment_gateways()\n#9 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\StoreApi\\Schemas\\CheckoutSchema.php(117): WooCommerce->__get('payment_gateway...')\n#10 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\StoreApi\\Schemas\\AbstractSchema.php(55): Automattic\\WooCommerce\\Blocks\\StoreApi\\Schemas\\CheckoutSchema->get_properties()\n#11 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\StoreApi\\Routes\\AbstractRoute.php(45): Automattic\\WooCommerce\\Blocks\\StoreApi\\Schemas\\AbstractSchema->get_item_schema()\n#12 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\StoreApi\\Routes\\AbstractRoute.php(223): Automattic\\WooCommerce\\Blocks\\StoreApi\\Routes\\AbstractRoute->get_item_schema()\n#13 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\StoreApi\\Routes\\Checkout.php(83): Automattic\\WooCommerce\\Blocks\\StoreApi\\Routes\\AbstractRoute->get_context_param(Array)\n#14 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\StoreApi\\RoutesController.php(62): Automattic\\WooCommerce\\Blocks\\StoreApi\\Routes\\Checkout->get_args()\n#15 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\packages\\woocommerce-blocks\\src\\RestApi.php(46): Automattic\\WooCommerce\\Blocks\\StoreApi\\RoutesController->register_routes()\n#16 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): Automattic\\WooCommerce\\Blocks\\RestApi->register_rest_routes(Object(WP_REST_Server))\n#17 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)\n#18 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(470): WP_Hook->do_action(Array)\n#19 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\rest-api.php(537): do_action('rest_api_init', Object(WP_REST_Server))\n#20 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\rest-api.php(363): rest_get_server()\n#21 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): rest_api_loaded(Object(WP))\n#22 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)\n#23 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(518): WP_Hook->do_action(Array)\n#24 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp.php(388): do_action_ref_array('parse_request', Array)\n#25 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp.php(750): WP->parse_request('')\n#26 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\functions.php(1291): WP->main('')\n#27 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-blog-header.php(16): wp()\n#28 C:\\xampp\\htdocs\\muggi\\wordpress\\index.php(17): require('C:\\\\xampp\\\\htdocs...')\n#29 {main}\n  thrown in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\fluid-checkout\\inc\\checkout-steps.php on line 2434, referer: https://127.0.0.1/muggi/wordpress/wp-admin/plugins.php?plugin_status=all&paged=1&s
    
    [Thu Nov 25 10:11:48.757451 2021] [php:error] [pid 5884:tid 1852] [client 127.0.0.1:60959] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function FluidCheckout_Steps::change_payment_gateway_icon_html(), 1 passed in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php on line 303 and exactly 2 expected in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\fluid-checkout\\inc\\checkout-steps.php:2434\nStack trace:\n#0 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): FluidCheckout_Steps->change_payment_gateway_icon_html('https://127.0.0....')\n#1 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(189): WP_Hook->apply_filters('https://127.0.0....', Array)\n#2 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\Core\\Gateway\\PixGateway.php(75): apply_filters('woocommerce_gat...', 'https://127.0.0....')\n#3 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\pix-por-piggly\\src\\Core\\Gateway\\PixGateway.php(45): Piggly\\WooPixGateway\\Core\\Gateway\\PixGateway->init_settings()\n#4 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-wc-payment-gateways.php(97): Piggly\\WooPixGateway\\Core\\Gateway\\PixGateway->__construct()\n#5 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()\n#6 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()\n#7 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\class-woocommerce.php(885): WC_Payment_Gateways::instance()\n#8 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\woocommerce\\includes\\admin\\class-wc-admin-menus.php(95): WooCommerce->payment_gateways()\n#9 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(303): WC_Admin_Menus->settings_page_init('')\n#10 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\class-wp-hook.php(327): WP_Hook->apply_filters('', Array)\n#11 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-includes\\plugin.php(470): WP_Hook->do_action(Array)\n#12 C:\\xampp\\htdocs\\muggi\\wordpress\\wp-admin\\admin.php(237): do_action('load-woocommerc...')\n#13 {main}\n  thrown in C:\\xampp\\htdocs\\muggi\\wordpress\\wp-content\\plugins\\fluid-checkout\\inc\\checkout-steps.php on line 2434, referer: https://127.0.0.1/muggi/wordpress/wp-admin/plugins.php?plugin_status=all&paged=1&s
    
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incompatible Plugins’ is closed to new replies.