• Resolved The Wicked Ninja

    (@wngadmin)


    Hi there we noticed an error being generated by the caching plugin we use:

    PHP 8.0.28
    Version 1.9.4 (WP Super Cache)
    WordPress 6.2
    WooCommerce 7.7.0

    I have started seeing this error in the debug.log:

    PHP Warning: Trying to access array offset on value of type null in /var/www/vhosts/****.com/****.****.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2909

    The plugin author suggested this:

    Do any of your other plugins use the “get_comment” filter? Maybe they have a bug in them that’s breaking that filter.

    When we disabled Site Reviews the issue went away.

    Would appreciate it if you could take the time to look into this.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Thanks for reporting this.

    I am currently rewriting/optimizing the cache integrations so hopefully this will be solved in the next update.

    Thread Starter The Wicked Ninja

    (@wngadmin)

    Many thanks for the quick response. I noticed an update for Site Reviews dropped today, this error was on the previous version. I will keep an eye on it.

    Plugin Author Gemini Labs

    (@geminilabs)

    @wngadmin Is the “Filter Comment Queries” setting enabled or disabled?

    Thread Starter The Wicked Ninja

    (@wngadmin)

    Hi there,

    I do not have the WooCommerce integration enabled. I am only using it for Site/Business reviews at the moment. However I will be looking at that.

    Plugin Author Gemini Labs

    (@geminilabs)

    In that case, it’s very unlikely that the issue is being caused by Site Reviews because Site Reviews doesn’t use/access comments or fire any comment hooks unless the WooCommerce integration is enabled and the “Filter Comment Queries” setting is on.

    I suggest you check your debug.log file again for any other clues (i.e. plugin file paths, etc.) which might point to the culprit.

    • This reply was modified 1 year, 5 months ago by Gemini Labs.
    Thread Starter The Wicked Ninja

    (@wngadmin)

    Thank you for taking the time to look into this. I will keep an eye on our debug.log file.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Warning: Trying to access array offset on value of type null’ is closed to new replies.