• Resolved Deleyna

    (@deleyna)


    Here’s the error we’re getting:

    An error of type E_PARSE was caused in line 221 of the file /home4/siteid/public_html/wp-content/plugins/skaut-google-drive-gallery/class-api-client.php. Error message: syntax error, unexpected ‘)’, expecting ‘&’ or variable (T_VARIABLE)

    It is blocking the admin interface and the front end of the site. Is it a PHP conflict (perhaps client’s server doesn’t have current PHP? I’ll be checking) or a legit syntax error? Will you be releasing a patch file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marek Dědi?

    (@marekdedic)

    Hi,
    sorry for the inconvenience, version 2.13.4 accidentally broke support for PHP <8. Please update to 2.13.5, which fixes this.

    Marek

    Thread Starter Deleyna

    (@deleyna)

    Thank you! We’ve updated and all is well. I appreciate the quick fix.

    Hi, I have exactly the same problem on my WP site. Now I cannot visit the front page and also the admin page. How can I update the plugin without visiting the admin page?

    [update] Now I just fixed the problem by docker exec into the container, find the plugin path, and fix the code bugs. Detail:

    docker exec -it <wp_container_id> /bin/bash

    cd /var/www/html/wp-content/plugins/skaut-google-drive-gallery

    nano class-api-client.php

    use ctrl+_ to goto the line 221

    remove the last “,” in the line 220.

    remove same problem several lines later

    also remove the same problem in the file class-api-facade.php.

    Then problem is resolved.

    • This reply was modified 1 year, 2 months ago by vincentgong7.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘site down after update’ is closed to new replies.