• Resolved barrettjason

    (@barrettjason)


    Receiving the following PHP Notices, should they be rectified?

    [23-Jul-2021 10:19:22 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type jp_sitemap is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://ww.wp.xz.cn/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /home2/townsvi9/public_html/wp-includes/functions.php on line 5535
    [23-Jul-2021 10:19:23 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type jp_img_sitemap is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://ww.wp.xz.cn/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /home2/townsvi9/public_html/wp-includes/functions.php on line 5535
    [23-Jul-2021 10:19:23 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type jp_sitemap_master is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://ww.wp.xz.cn/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /home2/townsvi9/public_html/wp-includes/functions.php on line 5535
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Dan (a11n)

    (@drawmyface)

    Hi @barrettjason

    Can you tell me where you’re seeing those notices?

    It may be caused by conflict with another plugin, as in this example:
    https://github.com/10up/safe-redirect-manager/issues/177

    Can you try deactivating any other plugins to see if the notices go away?

    If not, could you please post your site URL here so that we can have a look?

    If you want it to remain private, you can also contact us via this contact form. If you choose to reach out directly, please include a link to this thread.

    Thanks!

    Thread Starter barrettjason

    (@barrettjason)

    My site URL is townsvillecre.com

    The error series is occurring twice per day at roughly 1000HRS and 2200HRS every day.

    The three PHP notices are appearing in the debug.log

    Hello @barrettjason

    Since your case requires more security access, could you contact us via this contact form, please?

    Please include a link to this thread in your message and a copy of your log file.

    Let me know if you have any questions.

    My best regards,

    Michelle C.

    Thread Starter barrettjason

    (@barrettjason)

    Hello – I submitted details through the contact form as instructed and haven’t heard anything back yet. The entries appeared again in this morning’s debug.log

    `[29-Jul-2021 22:10:01 UTC] PHP Notice: map_meta_cap was called <strong>incorrectly</strong>. The post type jp_sitemap is not registered, so it may not be reliable to check the capability “edit_post” against a post of that type. Please see <a href=”https://ww.wp.xz.cn/support/article/debugging-in-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /home2/townsvi9/public_html/wp-includes/functions.php on line 5535
    [29-Jul-2021 22:10:01 UTC] PHP Notice: map_meta_cap was called <strong>incorrectly</strong>. The post type jp_img_sitemap is not registered, so it may not be reliable to check the capability “edit_post” against a post of that type. Please see <a href=”https://ww.wp.xz.cn/support/article/debugging-in-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /home2/townsvi9/public_html/wp-includes/functions.php on line 5535
    [29-Jul-2021 22:10:01 UTC] PHP Notice: map_meta_cap was called <strong>incorrectly</strong>. The post type jp_sitemap_master is not registered, so it may not be reliable to check the capability “edit_post” against a post of that type. Please see <a href=”https://ww.wp.xz.cn/support/article/debugging-in-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /home2/townsvi9/public_html/wp-includes/functions.php on line 5535`

    Hi, there.

    I see that we received this information in your ticket (#4178609).

    I’ll close this support thread out since we will handle this there, and we will reply to that ticket just as soon as we can. Thanks!

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

The topic ‘PHP Notice: map_meta_cap was called incorrectly’ is closed to new replies.