Fatal Error Codes after Update

After update theme i can't edit pages

I received a mail from WP:

Cuando busque ayuda con este problema, es posible que se le solicite la siguiente información:

Versión de WordPress 5.9.3

Tema actual: Betheme Child (versión 2.0)

Plugin actual: (version )

Versión de PHP: 8.0.16

Detalles Del Error

==================

Se produjo un error de tipo E_ERROR en la línea 2420 del archivo /home4/motiongy/public_html/wp-content/themes/betheme/functions/theme-functions.php. Mensaje de error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Error given in /home4/motiongy/public_html/wp-content/themes/betheme/functions/theme-functions.php:2420

Stack trace:

#0 /home4/motiongy/public_html/wp-content/themes/betheme/functions/builder/class-mfn-builder-fields.php(33014):

mfn_hierarchical_taxonomy('product_cat')

#1 /home4/motiongy/public_html/wp-content/themes/betheme/functions/builder/class-mfn-builder-fields.php(54): Mfn_Builder_Fields->set_items()

#2 /home4/motiongy/public_html/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php(78): Mfn_Builder_Fields->__construct()

#3 /home4/motiongy/public_html/wp-content/themes/betheme/functions/post-types/class-mfn-post-type.php(174): Mfn_Builder_Admin->set_fields()

#4 /home4/motiongy/public_html/wp-admin/includes/template.php(1395): Mfn_Post_Type->show_box(Object(WP_Post), Array)

#5 /home4/motiongy/public_html/wp-admin/includes/post.php(2296): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post))

#6 /home4/motiongy/public_html/wp-admin/edit-form-blocks.php(309): the_block_editor_meta_boxes()

#7 /home4/motiongy/public_html/wp-admin/post.php(187): require('/home4/motiongy...')

#8 {main}

  thrown



this is how see the Muffin Live button from edit page


Comments

Sign In or Register to comment.