• Resolved megseoh

    (@megseoh)


    I’m seeing this error message tens of thousands of times in my debug.log:

    PHP Notice: Constant PGC_PLUGIN_NAME already defined in /srv/www/preview/wp-content/plugins/private-google-calendars

    What do I need to do to fix this?

    Many thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author michielve

    (@michielve)

    I have not seen this, but if you have access to the private-google-calendars.php file, you could try to change the line 66:

    initTranslatedDefines();

    into:

    if (!defined('PGC_PLUGIN_NAME')) {
        initTranslatedDefines();
    }

    If this solves your problem, I will update the plugin.

    • This reply was modified 3 years, 5 months ago by michielve.
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Constant PGC_PLUGIN_NAME already defined’ is closed to new replies.