Skip to content

Too many photos causes app to crash #2679

@rhogro

Description

@rhogro

I have a big folder with more than 1700 photos. After scrolling and loading a bunch of them (1000), I get the following error (sorry for not being too detailed):
`The Image and video gallery from Google Drive plugin has encountered an error. Error message:

An internal error happened in the gallery.

Stack trace:

#0 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/class-api-client.php(239): Sgdg\API_Client::Sgdg{closure}('~!!~AI9FV7Qlai0...', Object(Sgdg\Vendor\GuzzleHttp\Promise\Promise), Array)
#1 [internal function]: Sgdg\API_Client::Sgdg{closure}(Object(Sgdg\Vendor\Google\Service\Drive\FileList))
#2 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/class-api-client.php(331): call_user_func(Object(Closure), Object(Sgdg\Vendor\Google\Service\Drive\FileList))
#3 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/class-api-client.php(260): Sgdg\API_Client::execute_current_batch()
#4 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/class-api-client.php(264): Sgdg\API_Client::execute()
#5 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/frontend/class-page.php(65): Sgdg\API_Client::execute(Array)
#6 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/helpers/class-helpers.php(42): Sgdg\Frontend\Page::ajax_handler_body()
#7 /home3/urmepplayr/public_html/wp-content/plugins/skaut-google-drive-gallery/frontend/class-page.php(46): Sgdg\Helpers::ajax_wrapper(Array)
#8 /home3/urmepplayr/public_html/wp-includes/class-wp-hook.php(324): Sgdg\Frontend\Page::handle_ajax('')
#9 /home3/urmepplayr/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /home3/urmepplayr/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home3/urmepplayr/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_page')
#12 {main}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions