• Resolved remicliquennois

    (@remicliquennois)


    Hi,

    I am sorry in advance for my english. I’m french ??
    So I have the same problem when I want to activate the plugin.
    I know I have another plugin which is using the same Google_Client class.

    My idea to make them useful at the same time and change le name of “Google_***” classes by “CF_Sheets_Google_***”

    For example, I have seen Yoast plugin using it too, but they change classes by “Yoast_Google_Client” etc.

    I hope you ganna understand me. I would like to know if you think that could work.

    Thanks in advance,
    Rémi

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    I got the same issue here:

    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Cannot declare class Google_Client, because the name is already in use in /home/*******/public_html/wp-content/plugins/cf7-google-sheets-connector/lib/php-google-oauth/Google_Client.php on line 68

    How can this be fixed? All the plugins I currently use are required. I am also trying to use it on a Multi-site.

    I was excited when I found this but now I am bummed.

    • This reply was modified 7 years, 10 months ago by Oluseun Taylor. Reason: code tag cleanup

    Try running a keyword search through the files of your website for “Google_Client”. I did this and found that a plugin called “Duplicator Pro” that I use to easily migrate websites was interfering giving the same error you’re receiving. After I deactivated / removed duplicator temporarily, I was able to activate Google Sheets plugin successful. Hope this helps.

    I have Duplicator Pro and I NEED DUplicator Pro far more than the CF7 GSC.

    Deactivationg Duplicator Pro, activating CF7 GSC and reactivating Duplicator Pro brought up an HTTP500 error >.<

    Can the plugin’s code be altered and the class name changed maybe?

    I wonder…

    Hello.

    I have same error and same issue.
    Could you please fix this issue when next update will be released?

    Plugin Author westerndeal

    (@westerndeal)

    Hello,
    Thanks for notifying the duplicate issue, we’ll solve this issue in next release, soon as possible,

    Many Thanks
    Abdullah !!

    Thank you westerndeal!

    We’re looking forward to your solution. ??

    Thread Starter remicliquennois

    (@remicliquennois)

    Hi,

    Thanks for your new release. Sadly, modifications are not working for me.

    “Fatal error: Cannot declare class Google_Model, because the name is already in use in /…/wp-content/plugins/cf7-google-sheets-connector/lib/php-google-oauth/service/Google_Model.php on line 23”

    Google_Model class is not changed. Thanks in advance for your reply

    Plugin Author westerndeal

    (@westerndeal)

    Hi @remicliquennois

    Can you please specify the other plugin you are using along with this (CF7 Google Sheet Connector)to make sure with the conflict issue. This will help us to replicate and solve the issues.

    [ Signature moderated ]

    • This reply was modified 7 years, 8 months ago by Jan Dembowski.
    Thread Starter remicliquennois

    (@remicliquennois)

    Hi @westerndeal,

    The other plugin I use is “Simple Calendar – Google Calendar Plugin”

    I hope that gonna help you !

    Hi @westerndeal

    I too am using “Simple Calendar” and getting the same error. Hope this is able to be fixed. ??

    • This reply was modified 7 years, 8 months ago by rchlfryn.
    Plugin Author westerndeal

    (@westerndeal)

    @rchlfryn,
    Thanks for letting me know, it requires to change all the class names from Google Library because all the other plugins also use the same,
    It requires to change and test thoroughly.. which will take some time, we will update you soon as possible..!!

    Thanks !!

    Plugin Author westerndeal

    (@westerndeal)

    Hello @remicliquennois,

    We have released a new version, with the latest updates and fixes with the conflict issue, Please do upgrade the plugin and test from your side and let us know.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal Error on Activation’ is closed to new replies.