• Resolved offisapup

    (@offisapup)


    Since I updated Matomo to 4.10.0 a few days ago, I get PHP Fatal error: Uncaught Error: Class 'WP_Network' not found in /.../ wp-includes/ms-network.php:34 on the wp CLI when Matomo *and* Real Media Library Lite are both activated. Disabling either of them restores WP CLI functionality.

    The stack trace indicates the problem is in RML …

    The website works, and there are no errors in the php-fpm logs.

    WP version 5.9.3.

    
    [root@wpserver site1]# wp core version
    5.9.3
    [root@wpserver site1]# wp plugin list
    +-------------------------+----------+-----------+---------+
    | name                    | status   | update    | version |
    +-------------------------+----------+-----------+---------+
    | akismet                 | inactive | none      | 4.2.4   |
    | autoptimize             | active   | none      | 3.0.4   |
    | block-guide-lines       | active   | none      | 1.0     |
    | cookie-law-info         | active   | none      | 2.1.2   |
    | jetpack                 | active   | none      | 10.9.1  |
    | matomo                  | inactive | none      | 4.10.0  |
    | real-media-library-lite | active   | none      | 4.18.6  |
    | wp-security-audit-log   | active   | none      | 4.4.1   |
    | wp-maintenance-mode     | active   | none      | 2.4.4   |
    | wp-super-cache          | active   | available | 1.7.7   |
    | advanced-cache.php      | dropin   | none      |         |
    +-------------------------+----------+-----------+---------+
    [root@wpserver site1]# wp plugin activate matomo 
    Plugin 'matomo' activated.
    Success: Activated 1 of 1 plugins.
    [root@wpserver site1]# wp plugin list
    PHP Fatal error:  Uncaught Error: Class 'WP_Network' not found in /data/www/html/site1/wp-includes/ms-network.php:34
    Stack trace:
    #0 /data/www/html/site1/wp-content/plugins/real-media-library-lite/vendor/devowl-wp/real-product-manager-wp-client/src/Utils.php(37): get_network()
    #1 /data/www/html/site1/wp-content/plugins/real-media-library-lite/vendor/devowl-wp/real-product-manager-wp-client/src/PluginUpdate.php(149): MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\RealProductManagerWpClient\Utils::isMu()
    #2 /data/www/html/site1/wp-content/plugins/real-media-library-lite/vendor/devowl-wp/real-product-manager-wp-client/src/license/PluginUpdateLicensePool.php(260): MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\RealProductManagerWpClient\PluginUpdate->getPotentialBlogIds()
    #3 /data/www/html/site1/wp-content/plugins/real-media-library-lite/vendor/devowl-wp/real-product-manager-wp-client/src/license/PluginUpdateLicensePool.php(296): MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\RealProductManage in /data/www/html/site1/wp-includes/ms-network.php on line 34
    Fatal error: Uncaught Error: Class 'WP_Network' not found in /data/www/html/site1/wp-includes/ms-network.php:34
    
    • This topic was modified 2 years, 9 months ago by offisapup.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with Matomo/WP_Network class’ is closed to new replies.