Title: Plugin won&#8217;t activate
Last modified: November 30, 2018

---

# Plugin won’t activate

 *  Resolved [spfitzg](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11022991)
 * 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](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11023481)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11023838)
 * 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](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11023886)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11023976)
 * 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](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11024471)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11024948)
 * If you send me the URL of the page where I can see this error I can have a look.
 *  Thread Starter [spfitzg](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11026048)
 * The page is password protected along with the rest of the site. Let me see what
   I can do.
 *  Thread Starter [spfitzg](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11030973)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11031760)
 * 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](https://wordpress.org/support/users/spfitzg/)
 * (@spfitzg)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11032874)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11034918)
 * 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](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11035313)
 * 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.

 * ![](https://ps.w.org/private-google-calendars/assets/icon-256x256.png?rev=2203549)
 * [Private Google Calendars](https://wordpress.org/plugins/private-google-calendars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/private-google-calendars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/private-google-calendars/)
 * [Active Topics](https://wordpress.org/support/plugin/private-google-calendars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/private-google-calendars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/private-google-calendars/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [michielve](https://wordpress.org/support/users/michielve/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-wont-activate-33/#post-11035313)
 * Status: resolved