• Resolved Bojan Deni?

    (@evilmc)


    Postoji kriticna gresna, default wordpress tema Twenty Twenty-Four:

    Fatal error: Uncaught TypeError: Oblak\WooCommerce\Serbian_Addons\QR\QR_Code_Handler::init(): Argument #1 ($args) must be of type array, null given, called in /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/QR/QR_Code_Handler.php on line 158 and defined in /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/QR/QR_Code_Handler.php:138 Stack trace: #0 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/QR/QR_Code_Handler.php(158): Oblak\WooCommerce\Serbian_Addons\QR\QR_Code_Handler->init(NULL) #1 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/QR/QR_Code_Handler.php(185): Oblak\WooCommerce\Serbian_Addons\QR\QR_Code_Handler->create_qr_code(‘K:PR|V:01|C:1|R…’, NULL) #2 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/QR/QR_Code_Handler.php(234): Oblak\WooCommerce\Serbian_Addons\QR\QR_Code_Handler->create_file(Object(Automattic\WooCommerce\Admin\Overrides\Order), ‘jpg’) #3 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/Gateway/Gateway_Payment_Slip_IPS_Handler.php(306): Oblak\WooCommerce\Serbian_Addons\QR\QR_Code_Handler->get_file_base64(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #4 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/Gateway/Gateway_Payment_Slip_IPS_Handler.php(261): Oblak\WooCommerce\Serbian_Addons\Gateway\Gateway_Payment_Slip_IPS_Handler->get_template_args(Object(Automattic\WooCommerce\Admin\Overrides\Order), ‘display’) #5 /home/instance/web/domain.com/public_html/enfold/wp-includes/class-wp-hook.php(324): Oblak\WooCommerce\Serbian_Addons\Gateway\Gateway_Payment_Slip_IPS_Handler->show_qr_code(2129) #6 /home/instance/web/domain.com/public_html/enfold/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /home/instance/web/domain.com/public_html/enfold/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #8 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php(33): do_action_ref_array(‘woocommerce_tha…’, Array) #9 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/OrderConfirmation/AdditionalInformation.php(32): Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation\AbstractOrderConfirmationBlock->get_hook_content(‘woocommerce_tha…’, Array) #10 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php(49): Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation\AdditionalInformation->render_content(Object(Automattic\WooCommerce\Admin\Overrides\Order), ‘full’, Array, ”) #11 /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(88): Automattic\WooCommerce\Blocks\BlockTypes\OrderConfirmation\AbstractOrderConfirmationBlock->render(Array, ”, Object(WP_Block)) #12 /home/instance/web/domain.com/public_html/enfold/wp-includes/class-wp-block.php(258): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, ”, Object(WP_Block)) #13 /home/instance/web/domain.com/public_html/enfold/wp-includes/class-wp-block.php(244): WP_Block->render() #14 /home/instance/web/domain.com/public_html/enfold/wp-includes/blocks.php(1484): WP_Block->render() #15 /home/instance/web/domain.com/public_html/enfold/wp-includes/blocks.php(1522): render_block(Array) #16 /home/instance/web/domain.com/public_html/enfold/wp-includes/block-template.php(263): do_blocks(‘<!– wp:templat…’) #17 /home/instance/web/domain.com/public_html/enfold/wp-includes/template-canvas.php(12): get_the_block_template_html() #18 /home/instance/web/domain.com/public_html/enfold/wp-includes/template-loader.php(106): include(‘/home/instance/we…’) #19 /home/instance/web/domain.com/public_html/enfold/wp-blog-header.php(19): require_once(‘/home/instance/we…’) #20 /home/instance/web/domain.com/public_html/enfold/index.php(17): require(‘/home/instance/we…’) #21 {main} thrown in /home/instance/web/domain.com/public_html/enfold/wp-content/plugins/serbian-addons-for-woocommerce/lib/QR/QR_Code_Handler.php on line 138

    Ovo se desava samo kada je ukljucen NBS IPS QR Code. Da li je potrebno jos neko podesavanje ili?

    • This topic was modified 10 months, 2 weeks ago by Bojan Deni?.
    • This topic was modified 10 months, 2 weeks ago by Bojan Deni?.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.