Site logo

Archived topic

Error when using Elements

3 replies · Started by Ericka on November 8, 2022

Viewing posts 1–4 of 4

Hi! When I try to use Block Element, I get this error:

Warning: Undefined variable $image_sizes in /home/customer/www//public_html/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1737

Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/customer/www//public_html/wp-content/plugins/gp-premium/elements/class-block-elements.php:1737 Stack trace: #0 /home/customer/www//public_html/wp-content/plugins/gp-premium/elements/class-block-elements.php(1737): array_merge(NULL, Array) #1 /home/customer/www//public_html/wp-content/plugins/gp-premium/elements/class-block-elements.php(151): GeneratePress_Block_Elements->get_image_sizes() #2 /home/customer/www//public_html/wp-includes/class-wp-hook.php(308): GeneratePress_Block_Elements->enqueue_assets('') #3 /home/customer/www//public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /home/customer/www//public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/customer/www//public_html/wp-admin/edit-form-blocks.php(272): do_action('enqueue_block_e...') #6 /home/customer/www//public_html/wp-admin/post-new.php(72): require('/home/customer/...') #7 {main} thrown in /home/customer/www//public_html/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1737

Hi there,

where do you see that error ?

When I choose the Block in Elements option, automatically the whole screen gives me that error and wordpress sends me a critical error message on the web.

Can you temporarily disable ALL other plugins apart for GP Premium and GenerateBlocks.
Does the errors still occur then ?

This archived topic is closed to new replies.