• Resolved jason.crundwell

    (@jasoncrundwell)


    We setup several galleries using the plugin and had great success in getting everything setup. However, 24 hours later we ended up with the following critical error:

    Fatal error: Uncaught Error: Class ‘Sgdg\Vendor\GuzzleHttp\Exception\RequestException’ not found in /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:201 Stack trace: #0 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): Sgdg\Vendor\GuzzleHttp\Handler\CurlFactory::createRejection(Object(Sgdg\Vendor\GuzzleHttp\Handler\EasyHandle), Array) #1 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): Sgdg\Vendor\GuzzleHttp\Handler\CurlFactory::finishError(Object(Sgdg\Vendor\GuzzleHttp\Handler\CurlHandler), Object(Sgdg\Vendor\GuzzleHttp\Handler\EasyHandle), Object(Sgdg\Vendor\GuzzleHttp\Handler\CurlFactory)) #2 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): Sgdg\Vendor\GuzzleHttp\Ha in /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 201

    There has been a critical error on your website.

    The page I need help with: [log in to see the link]

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

    (@marekdedic)

    Hi,
    what you’re seeing is a combination of 2 errors: There is some error with requesting the images from Google Drive, but there is also another error in the code that handles the first error. The second error causes the first one to be hidden.

    Luckily, the error in the error handling code has been fixed some time ago – later today, version 2.7.5 of this plugin should be released. Could you please update to that and see what happens? We should then be able to see the original error…

    Judging by the fact that this happened 24h after setting up the galleries, are you perchance using any caching or optimization plugins? They may be the cause of this issue – if you are using them, could you please try disabling them to check whether that would fix the issue?

    Thanks,
    Marek Dědič

    Thread Starter jason.crundwell

    (@jasoncrundwell)

    Thanks for the update.

    I updated the plugin and wiped my entire cache. The error was still appearing. Of note, we are running php 7.3.

    Warning: Use of undefined constant IDNA_DEFAULT – assumed ‘IDNA_DEFAULT’ (this will throw an Error in a future version of PHP) in /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Client.php on line 219

    Fatal error: Uncaught Error: Call to undefined function Sgdg\Vendor\GuzzleHttp\idn_to_ascii() in /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Utils.php:35 Stack trace: #0 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Client.php(220): Sgdg\Vendor\GuzzleHttp\Utils::idnUriConvert(Object(Sgdg\Vendor\GuzzleHttp\Psr7\Uri), ‘IDNA_DEFAULT’) #1 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Client.php(113): Sgdg\Vendor\GuzzleHttp\Client->buildUri(Object(Sgdg\Vendor\GuzzleHttp\Psr7\Uri), Array) #2 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Client.php(130): Sgdg\Vendor\GuzzleHttp\Client->sendAsync(Object(Sgdg\Vendor\GuzzleHttp\Psr7\Request), Array) #3 /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/google/auth/src/HttpHandler/Guzzle6H in /home/mstpeters/public_html/wp-content/plugins/skaut-google-drive-gallery/bundled/vendor/guzzlehttp/guzzle/src/Utils.php on line 35

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    there have been some issues with the new versions yesterday, can you please confirm that this is happening with the plugin version 2.7.7?

    Thanks,
    Marek

    Thread Starter jason.crundwell

    (@jasoncrundwell)

    I ran the update this afternoon. The fatal error is gone, but each gallery is giving the following error:

    cURL error 2: easy handle already used in multi handle (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    honestly, I’ve never seen that issue and from what I’ve been able to find, it might actually be a problem with the hosting – I don’t know what you’re using and whether you’re the admin, but if not, please try contacting them…

    If that doesn’t help, I can give it another try.

    Thanks,
    Marek

    Thread Starter jason.crundwell

    (@jasoncrundwell)

    I’ve been doing some searching, and it appears that some other google API plugins are having similar issues.

    I’m working on trying rollback my cURL library, but I’m not a programmer or server guru.

    https://github.com/guzzle/guzzle/issues/2617
    https://wordpress.org/support/topic/curl-error-2-easy-handle-already-used-in-multi-handle/

    Unfortunately, the galleries that use this plugin launch next week, so I may just have to find a traditional solution.

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    unfortunately, I am no server guru myself… The most on point seems to be the discussion over at https://github.com/guzzle/guzzle/issues/2617, which definitely applies to this plugin ad well as it uses the same Google libraries for communication with Google Drive. Thanks for pointing it out, I’ll be keeping an eye on it and if it turns out they can fix it, I’ll release a new version of the plugin with this fix ASAP.

    If you need to launch next week, I’d suggest trying the libcurl downgrade and then some other gallery solution (although I haven’t found any to my liking, that’s why this plugin even exists…)

    Thanks,
    Marek

    Hi

    This is been long but a search with the keyword IDNA_DEFAULT pops this up, and it seems that none has resolved it. For anyone to know, some libraries assume the existence of certain extensions, rather than checking and telling about the missing extensions.

    Just install php_intl extension and you should be good to go. If that is geek, then ask the server team to support you with the installation of the same.

    Plugin Author Marek Dědič

    (@marekdedic)

    Hi,
    as there are already 2 issues described in this thread which are solved, I’m closing this one – feel free to open a new ticket for the guzzle issue, although from my side, I’m just waiting for guzzle to solve it (see link above)

    Marek

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