• Resolved Ludwig You

    (@ludwigyou)


    Hello,

    I have 500 error with this code:
    Fatal error: Uncaught Error: Call to undefined method Container::get_name() in /wp-content/plugins/elementor/core/admin/admin.php on line 792

    To reproduct this error :
    1. Elemailer Lite version 1.7
    2. Elementor version 3.10.2

    The error occured when I tried to access to the “edit post” without elementor directly with URL like this (on post type “em-form-template”) :
    /wp-admin/post.php?post=123&action=edit

    It’s work with Elementor 3.9.2 but not with lastet version.

    Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Elemailer

    (@elemailer)

    Hi @ludwigyou

    Thank you for reporting the issue. I could also see the error. But may I know why you would want to edit directly and not with Elementor? This is quite expected behavior for now since there were some changes to core code of Elementor for which we had to make a patch and direct access in the template should not be done in general as there is no purpose of it. In future we will probably have to disable the direct access of wp editing screen as it can cause other unexpected behavior as well.

    Regards,

    Thread Starter Ludwig You

    (@ludwigyou)

    Thank you for your quick response ??.

    I use meta box which is not available in Elementor directly that’s why I need to access this page.

    Please do not remove access to the WordPress editor it is really useful for third party plugins to be compatible with your plugin.

    Do you even have an idea for a temporary patch that I could add via a hook or a filter?

    Plugin Author Elemailer

    (@elemailer)

    Hi @ludwigyou

    At the moment, there is no way to avoid the error ( except for rolling back Elementor for now unless we find a workaround ). As mentioned, we had to make a patch due to how Elementor changed the code & that code actually has some issues ( elementor issue ), as far as we understood.

    In any case, I am more interested understanding how meta box can help you. Would you mind sharing details of this to our support portal so that we can understand the importance of having access of wp backend in that area and then, our dev team can re-think before they remove the access / find an alternative method for 3rd party plugin to integrate?
    You may email us if you don’t wish to share the details of metabox usecase, method here: [email protected]

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined method Container::get_name()’ is closed to new replies.