• Resolved koolpal

    (@koolpal)


    Hi,

    On my local install with debug.log enabled and
    WordPress version: 5.6.2
    Contact Form 7 by Takayuki Miyoshi – 5.4
    Flamingo by Takayuki Miyoshi – 2.2.1

    I see the below notice repeatedly:
    [06-Mar-2021 15:33:15 UTC] PHP Notice: map_meta_cap was called <strong>incorrectly</strong>. The post type flamingo_contact 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 [path]\wp-includes\functions.php on line 5311

    Please review and guide / fix.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter koolpal

    (@koolpal)

    Hi,

    Thank you for replying. Please find the list of plugins below

    Cashfree 	  	by Cashfree Dev – 1.1
    Classic Editor 	  	by WordPress Contributors – 1.6
    Webcraftic Clearfy – WordPress optimization plugin 	  	by Creative Motion – 1.8.6
    Honeypot for Contact Form 7 	  	by Nocean – 2.0.2
    Contact Form 7 	  	by Takayuki Miyoshi – 5.4
    Disable WooCommerce Bloat 	  	by ospiotr – 2.4.4
    Disable REST API 	  	by Dave McHale – 1.6
    Flamingo 	  	by Takayuki Miyoshi – 2.2.1
    Personal Email 	  	by Shea Bunge – 1.1.1
    Safe SVG 	  	by Daryll Doyle – 1.9.9
    Shortcode in Menus 	  	by Gagan Deep Singh – 3.5.1
    Product Size Charts Plugin for WooCommerce 	  	by theDotstore – 2.0.9
    Advanced Shipment Tracking for WooCommerce 	  	by zorem – 3.2.0.1
    Variation Swatches for WooCommerce 	  	by RadiusTheme – 1.1.55
    WooCommerce Failed Order Customer Email 	  	by VALS – 1.2
    WooCommerce Product SKU Generator 	  	by SkyVerge – 2.4.5
    WooCommerce 	  	by Automattic – 5.0.0
    Yoast SEO Premium 	  	by Team Yoast – 15.4
    WordPress WhatsApp Support 	  	by WeCreativez – 2.0.1
    Mailhog for WordPress 	  	by Tareq Hasan – 1.0
    Yoast SEO: WooCommerce 	  	by Team Yoast – 13.8
    Inactive plugins (4)
    MalCare Security - Free Malware Scanner, Protection & Security for WordPress 	  	by MalCare Security – 4.54
    Post SMTP 	  	by Yehuda Hassine – 2.0.22
    UpdraftPlus - Backup/Restore 	  	by UpdraftPlus.Com, DavidAnderson – 2.16.46.24
    WooCommerce Google Analytics Pro 	  	by SkyVerge – 1.8.14

    Hope this helps.

    Thanks

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Which one is the theme?

    Thread Starter koolpal

    (@koolpal)

    Oh sorry!

    I am using Flatsome Theme with a child theme.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7, Classic Editor, Flamingo, and WooCommerce.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter koolpal

    (@koolpal)

    @takayukister : I could NOT replicate this notice after I reported it.

    I guess I will ignore it for now.

    Thanks

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

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