• Resolved !Benni

    (@benniledl)


    Hello,

    the Site is working normally I just want to confirm that this issue will not result in a broken site somewhen.

    I get this warning on my plugin page

    Warning: Tribe__PUE__Checker::maybe_display_json_error_on_plugins_page(): The script tried to access a property on an incomplete object. Please ensure that the class definition "Tribe__PUE__Utility" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /var/home/domain_tld/www/neu/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Checker.php on line 1215

    I have OPCache with the plugin Docket Cache active, I think this is related to the issue:

    Here my Site Health:

    Server architecture	Linux 6.3.0-2-amd64 x86_64
    Web server	Apache
    PHP version	8.0.29 (Supports 64bit values)
    PHP SAPI	fpm-fcgi
    PHP max input variables	1000
    PHP time limit	30
    PHP memory limit	256M
    Max input time	-1
    Upload max filesize	128M
    PHP post max size	128M
    cURL version	7.86.0 GnuTLS/3.7.9
    Is SUHOSIN installed?	No
    Is the Imagick library available?	No
    Are pretty permalinks supported?	Yes
    .htaccess rules	Custom rules have been added to your .htaccess file.

    Here the Events Calendar section of my site health:

    Event counts	
    
        publish: 2
        future: 0
        draft: 0
        pending: 0
    
    Organizer counts	
    
        publish: 2
        future: 0
        draft: 0
        pending: 0
    
    Venue counts	
    
        publish: 3
        future: 0
        draft: 0
        pending: 0
    
    Block Editor enabled for events	true
    Include events in main blog loop	false
    Views	list, month
    Default view	list
    Total imported events	0
    Front page calendar	false
    Previous TEC versions	6.0.7.1, 6.0.9, 6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.13.1, 6.1.0.2, 6.1.1, 6.1.2.1
    
    
    Series counts	
    
        publish: 0
        future: 0
        draft: 0
        pending: 0
    
    Unique recurring count	1
    Default mobile view	list
    Custom field count	0
    Using custom Google Maps key	false
    • This topic was modified 1 year, 4 months ago by !Benni.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @benniledl,

    Thanks for reaching out to us.

    The warning you’re seeing is caused by a conflict between the Events Calendar plugin and the Docket Cache plugin.

    Docket Cache uses OPCache to cache PHP files, and this can sometimes cause problems with the Events Calendar plugin.

    To fix this issue, you can disable OPCache for the Events Calendar plugin.

    You can do this by adding the following line to your wp-config.php file:

    define('WP_CACHE_OBJECT_CACHE', false);

    Once you’ve added this line, you’ll need to clear your cache and re-activate the Events Calendar plugin.

    Here are the steps on how to clear your cache:

    1. Go to your WordPress dashboard.
    2. Click on the “Tools” menu.
    3. Select the “Clear Cache” option.
    4. Click on the “Clear Cache” button.

    Once you’ve cleared your cache, you can reactivate the Events Calendar plugin.

    To do this, go to your WordPress dashboard.

    1. Click on the “Plugins” menu.
    2. Click on the “Installed Plugins” tab.
    3. Find the Events Calendar plugin.
    4. Click on the “Deactivate” button.
    5. Click on the “Activate” button.

    Once the Events Calendar plugin is reactivated, the warning should be gone.

    Let us know how it goes.

    Thread Starter !Benni

    (@benniledl)

    Hi, will this completely deactivate object cache? I want to use object cache for performance reasons.

    Plugin Support Darian

    (@d0153)

    Hi @benniledl

    I will consult with the team and keep you informed as soon as I have more information.

    Can you confirm whether Cheska’s recommendation successfully eliminated the Warning message on your Plugin page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning on plugin page’ is closed to new replies.