• Resolved locker17

    (@locker17)


    I want to load the header and footer in a dynamic page created by a plugin.
    I use this code for the header:

    echo do_shortcode('[hfe_template id="42"]');

    this throws the following error:
    Note: The map_meta_cap function was called incorrectly. The elementor-hf content type was not registered. It could therefore be unreliable to match the edit_post permission with a post of this type. Further information: Debugging in WordPress (English). (This message was added in version 4.4.0.) in \wp-includes\functions.php on line 6085

    How to solve this?

    PS: Duplicate NOT SOLVED YET:

    https://ww.wp.xz.cn/support/topic/php-error-function-map_meta_cap/

    • This topic was modified 1 year, 6 months ago by locker17.
    • This topic was modified 1 year, 6 months ago by locker17.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @locker17, thank you for reaching out and sharing this issue with us! I’ve passed this along to our developers for further investigation. Please allow us some time to review the problem thoroughly, and we’ll update you as soon as we have more information.

    We appreciate your patience and understanding!

    Kind regards,
    Ankush 😊

    Hi @locker17, we weren’t able to replicate the issue on our end, so we couldn’t pinpoint the root cause just yet. Could you please share a screencast or provide detailed steps to help us recreate the issue? This will allow us to identify the problem more accurately and work on resolving it as quickly as possible.

    We truly appreciate your patience and look forward to assisting you further!

    Hi @locker17,

    It’s been a while since my last response, and we haven’t heard back from you. I hope you were able to resolve the issue or find a workaround.

    I’m marking this thread as resolved due to inactivity. However, if you’re still experiencing the same problem, please feel free to share a screencast or detailed steps to help us replicate the issue. This will allow us to assist you more effectively.

    You’re welcome to reply here if you need further help or start a new thread if there’s anything else related to this plugin that we can assist you with.

    Kind regards,
    Ankush 😊

    Hi @locker17, thank you for your patience!

    We’ve resolved the issue in our development version. Could you please submit a ticket using the contact form here? This will help us share the updated file with you. Please include a link to this support thread for reference.

    We look forward to assisting you further!

    Kind regards,
    Ankush

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Loading header/footer by shortcode throws warning’ is closed to new replies.