php error

This topic contains 6 replies, has 3 voices, and was last updated by  Kiran 5 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #470756

    Elena Rodriguez
    Free User
    Post count: 77

    Hello,
    i have this php error when editing a place:

    Fatal error: Uncaught TypeError: Argument 1 passed to WPML_TM_Post_Edit_TM_Editor_Select::add_ui() must be an instance of WP_Post, instance of stdClass given, called in /usr/home/elsllepaplats.com/web/wp-includes/class-wp-hook.php on line 286 and defined in /usr/home/elsllepaplats.com/web/wp-content/plugins/wpml-translation-management/classes/post-edit-screen/class-wpml-tm-post-edit-tm-editor-select.php:36 Stack trace: #0 /usr/home/elsllepaplats.com/web/wp-includes/class-wp-hook.php(286): WPML_TM_Post_Edit_TM_Editor_Select->add_ui(Object(stdClass)) #1 /usr/home/elsllepaplats.com/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /usr/home/elsllepaplats.com/web/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /usr/home/elsllepaplats.com/web/wp-content/plugins/sitepress-multilingual-cms/menu/post-menus/post-edit-screen/wpml-meta-boxes-post-edit-html.class.php(420): do_action(‘wpml_before_pos…’, Object(stdClass)) #4 /usr/home/elsllepaplats.com/web/wp-content/plugins/sitepress-multilingual in /usr/home/elsllepaplats.com/web/wp-content/plugins/wpml-translation-management/classes/post-edit-screen/class-wpml-tm-post-edit-tm-editor-select.php on line 36

    can help me?

    #470762

    Guust
    Moderator
    Post count: 29970

    I cannot replicate that on my test site.
    Please post your URL and WP admin details, also FTP details, in a private reply and we will have a look.
    Thanks

    #471020

    Elena Rodriguez
    Free User
    Post count: 77
    This reply has been marked as private.
    #471426

    Kiran
    Moderator
    Post count: 7069

    Hello Elena,

    Please check and let us know.

    Kiran

    #471606

    Elena Rodriguez
    Free User
    Post count: 77

    Working!
    Thank you! 😀

    #475872

    Elena Rodriguez
    Free User
    Post count: 77

    Hello Kiran,
    I am having the same error one more time.

    Can tell me what i must to do in order to prevent this kind of errors in the future.

    Thank you!

    #475880

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount