• Resolved spfitzg

    (@spfitzg)


    Trying to activate the plugin on WordPress 4.9.8. I get the below error when attempting to activate. Any suggestions?

    `/Fatal error: Can’t use method return value in write context in /home/abc1234/public_html/staff/wp-content/plugins/private-google-calendars/private-google-calendars.php on line 231

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author michielve

    (@michielve)

    Hi,
    Thanks for reporting and sorry for my late response. I guess you use PHP < 5.6.
    I released a new version that should work with PHP 5.4.
    Michiel

    Thread Starter spfitzg

    (@spfitzg)

    Thanks. I was able to get it activated, but even though everything is setup correctly when I use the pgc shortcode nothing is displayed. Any suggestions?

    Plugin Author michielve

    (@michielve)

    There can be many causes. Some things you can do:
    – First see in the settings if everything is still setup correctly (the “Verify” button).
    – Make sure you have selected some calendars in the settings
    – Try the widget display – does that work?
    – Look in the console of your browser if there are displayed any errors (you can send them to me here and I can have a look).

    Thread Starter spfitzg

    (@spfitzg)

    I’m getting the following error:

    TypeError: undefined is not an object (evaluating ‘$.fullCalendar.locales’)
    (anonymous function) — bb58d.js:22
    each — 3a3f1.js:2:2886
    each — 3a3f1.js:2:851
    (anonymous function) — bb58d.js:14
    Global Code — bb58d.js:133
    setupMobileItemAnimations — b8572.js:1:5269

    Plugin Author michielve

    (@michielve)

    It looks like the locale-all.js file is not loaded, I don’t know why that is the case with your installation. The other functions like setupMobileItemAnimations don’t look familiar to me.

    However I added a check now so this error should be resolved. If you have another issue, please send me the WordPress URL where I can see this error.

    Thread Starter spfitzg

    (@spfitzg)

    I updated the plugin. I clicked on ‘Verify’ and was told my setup was ok. I verified a calendar was checked. On the widget I selected my calendar. I’m still getting a blank page.I’m still getting the error:

    TypeError: undefined is not an object (evaluating ‘$.fullCalendar.locales’)
    (anonymous function) — bb58d.js:3:410
    each — 3a3f1.js:2:2886
    each — 3a3f1.js:2:851
    (anonymous function) — bb58d.js:3
    Global Code — bb58d.js:13

    Plugin Author michielve

    (@michielve)

    If you send me the URL of the page where I can see this error I can have a look.

    Thread Starter spfitzg

    (@spfitzg)

    The page is password protected along with the rest of the site. Let me see what I can do.

    Thread Starter spfitzg

    (@spfitzg)

    I added the plugin to another wordpress site I have set up for testing. One I revoked access to clear the refresh token issue and reconnected the plugin it worked fine. My guess is that the plugin is conflicting with another plugin. I just don’t know which one.

    Plugin Author michielve

    (@michielve)

    Good to hear that the plugin is working fine on another website. If you are able to send me a public URL where I can see the issue, or if you can find out which plugin it conflicts with, I can have a look.

    Thread Starter spfitzg

    (@spfitzg)

    I disabled each of my plugins one by one. The issue seems to be with the W3 Total Cache plugin. When I disable it the calendar works fine. Ideally, I’d like to not have to disable the plugin.

    Plugin Author michielve

    (@michielve)

    I checked it with the W3 Total Cache plugin and I get the same error. I don’t know yet why this happens, but if you disable the “minify” option, the plugin works fine again. I’ll see if and when I have time to investigate this further.

    Plugin Author michielve

    (@michielve)

    I added info to this plugin in the FAQ section about how to use it with W3 Total Cache plugin. You can use it with minify enabled. I regard this now as solved, so I close this issue.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Plugin won’t activate’ is closed to new replies.