• Resolved gndbooks

    (@gndbooks)


    Im getting this message since the last update every day in Woocommerce > Status > Register

    ERROR FeaturesUtil::declare_compatibility: /home/customer/www/vboutique13.com/public_html/wp-content/plugins/pixelyoursite/pixelyoursite.php is not a known WordPress plugin.

    How do I fix this

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am getting same error after the last update. and even in my fb admanager showing wrong purchase results.

    Plugin Author PixelYourSite

    (@pixelyoursite)

    WooCommerce had an update to version 7.3 right after we released our last update. We just need to change one line of code to declare compatibility with this last version. No further changes are required, and there is no conflict.

    Hi,

    This issue still exists on PixelYourSite v.9.3.1 :/ Tested on WooCommerce 7.2.3 and WP 6.0.3

    Plugin Author PixelYourSite

    (@pixelyoursite)

    That’s strange because I can’t replicate the issue on our end, and we do declare compatibility with the current version of WooCommerce. It’s best you contact their support and ask for a clarification.

    @pixelyoursite – I have updated WooCommerce to 7.3.0 and still gets this issue.

    In my opinion it is a bug caused by fact that you are declaring support for HPOS in two files – facebook-master-pixel.php and pixelyoursite.php

    What is interesting despite this error in logs I see that Pixelyoursite is not listed under list of plugins incompatible with HPOS in WooCommerce.

    And what is interesting – if I comment out the below fragment in both files:

    add_action( 'before_woocommerce_init', function() {
    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
    \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', FILE, true );
    }
    } );

    Then PixelYourSite appears as incompatible plugin with HPOS.

    But if I comment out it only in pixelyoursite.php and leave it uncommented on facebook-pixel-master.php, then PixelYourSite is treated by WooCommerce as compatible with HPOS and the error is not appearing in logs 🙂

    That’s why I think it is definitely something with your plugin – in my opinion it is cause by fact that in #_options table under option active_plugins I have i:15;s:39:"pixelyoursite/facebook-pixel-master.php"

    So this issue affects only people who has some your plugin installed for longer period of time when it used old file.

    Currently to avoid big logs I have removed from pixelyoursite.php file code for action before_woocommerce_init – I do hope it is ok, and this issue will be solved in v.9.3.2 🙂

    The problem is that the plugin uses “__FILE__” instead of “pixelyoursite/facebook-pixel-master.php” or whatever the active plugin reference is. It’s not rocket science.

    • This reply was modified 1 year, 3 months ago by skunkbad.
    • This reply was modified 1 year, 3 months ago by skunkbad.

    Im getting this message since the last update every day in Woocommerce > Status >

    2023-01-23T07:00:28+00:00 ERROR FeaturesUtil::declare_compatibility: /XXXXXX/XYZXYZXYZ/xxxx_xxxx/wp-content/plugins/pixelyoursite/pixelyoursite.php is not a known WordPress plugin.

    is there any quick fix available ?

    Plugin Author PixelYourSite

    (@pixelyoursite)

    This issue should be fixed starting version 9.3.2, please update the plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘pixelyoursite.php is not a known WordPress plugin’ is closed to new replies.