• Resolved shahid86

    (@shahid86)


    Argument 1 passed to RWMB_Helpers_Field::get_class() must be of the type array, null given wp-content/plugins/meta-box/inc/field.php on line 531

    getting the above error, can you guide where is the issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @shahid86 ,

    Can you please post the full error?

    Thread Starter shahid86

    (@shahid86)

    TypeError thrown
    Argument 1 passed to RWMB_Helpers_Field::get_class() must be of the type array, null given, called in /wp-content/plugins/meta-box/inc/field.php on line 531

    Plugin Author Anh Tran

    (@rilwis)

    @shahid86 , can you please share the full stack of the error, something like:

    TypeError thrown
    Argument 1 ...
    
    Call stack:
    #0: ...
    #1: ...
    Thread Starter shahid86

    (@shahid86)

    there is nothing like that just above the message which i share with you

    “TypeError thrown
    Argument 1 passed to RWMB_Helpers_Field::get_class() must be of the type array, null given, called in /wp-content/plugins/meta-box/inc/field.php on line 531”

    Thread Starter shahid86

    (@shahid86)

    Fatal error: Uncaught TypeError: Argument 1 passed to RWMB_Helpers_Field::get_class() must be of the type array, null given, called in wp-content/plugins/meta-box/inc/field.php on line 531 and defined wp-content/plugins/meta-box/inc/helpers/field.php:22 Stack trace: #0 wp-content/plugins/meta-box/inc/field.php(531): RWMB_Helpers_Field::get_class(NULL) #1 wp-content/plugins/meta-box/inc/meta-box.php(299): RWMB_Field::call(‘normalize’, NULL) #2 wp-content/plugins/meta-box/inc/meta-box.php(51): RW_Meta_Box::normalize_fields(Array, Object(RWMB_Post_Storage)) #3 wp-content/plugins/meta-box/inc/meta-box-registry.php(19): RW_Meta_Box->__ in wp-content/plugins/meta-box/inc/helpers/field.php on line 22

    Plugin Author Anh Tran

    (@rilwis)

    Hi @shahid86 ,

    I’ve just released the version 5.6.13 with a fix for this. Please update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Argument 1 passed to RWMB_Helpers_Field::get_class() must be of the type array,’ is closed to new replies.