• Resolved Redmatters BV

    (@redmatters)


    We get the following error when updated WooCommerce to version 6.3.1

    PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Blocks\BlockTypes\LegacyTemplate::add_alignment_class_to_wrapper() must be of the type string, null given, called in /wp-includes/class-wp-hook.php on line 309 and defined in /wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/LegacyTemplate.php:215
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(309): Automattic\WooCommerce\Blocks\BlockTypes\LegacyTemplate->add_alignment_class_to_wrapper(NULL, Array)
    #1 /Users/renetuin/Documents/repos/redpress-v2/wp-includes/plugin.php(189): WP_Hook->apply_filters(NULL, Array)
    #2 /wp-includes/class-wp-block.php(284): apply_filters('render_block', '\n\n', Array, Object(WP_Block))
    #3 /wp-includes/blocks.php(883): WP_Block->render()
    #4 /wp- in /wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/LegacyTemplate.php on line 215
    • This topic was modified 2 years, 11 months ago by Redmatters BV.
    • This topic was modified 2 years, 11 months ago by Redmatters BV.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘LegacyTemplate function add_alignment_class_to_wrapper error’ is closed to new replies.