upgrade to 2.3.9 breaks proxy_fcgi
-
[proxy_fcgi:error] Got error ‘PHP message: PHP Parse error: syntax error, unexpected ‘)’ in /wp-content/plugins/food-and-drink-menu/includes/class-blocks.php on line 43\n’
[proxy_fcgi:error] Got error ‘PHP message: PHP Parse error: syntax error, unexpected ‘)’ in /wp-content/plugins/food-and-drink-menu/includes/class-patterns.php on line 60\n’
in class-blocks.php I found 3 comma-errors (marked with <—comma )
register_block_type_from_metadata( FDM_PLUGIN_DIR . '/blocks/menu.block.json', array( 'render_callback' => array( $this, 'render_menu' ), )<strong>,<---comma</strong> ); register_block_type_from_metadata( FDM_PLUGIN_DIR . '/blocks/menu_section.block.json', array( 'render_callback' => array( $this, 'render_menu_section' ), )<strong>,<---comma </strong> ); register_block_type_from_metadata( FDM_PLUGIN_DIR . '/blocks/menu_item.block.json', array( 'render_callback' => array( $this, 'render_menu_item' ), )<strong>,<---comma </strong> );
and inside class-patterns.php there’s one error
public function fdm_add_pattern_category() { register_block_pattern_category( 'fdm-block-patterns', array( 'label' => __( 'Five Star Restaurant Menu', 'food-and-drink-menu' ) )<strong>, <---comma</strong> ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘upgrade to 2.3.9 breaks proxy_fcgi’ is closed to new replies.