A PHP error occurred while trying to prepare the AMP response. This may not be caused by the AMP plugin but by some other active plugin or the current theme. You will need to review the error details to determine the source of the error.
It appears the plugin with slug S3-Uploads is responsible; please contact the author.
If you get stuck, you may want to share any details in a new topic on the plugin's support forum.
method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given (0) [TypeError]
/var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/RejectedPromise.php:16
#0 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/RejectedPromise.php(16): method_exists()
#1 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php(56): GuzzleHttp\Promise\RejectedPromise->__construct()
#2 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(203): Aws\Handler\GuzzleV6\GuzzleHandler::Aws\Handler\GuzzleV6\{closure}()
#3 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler()
#4 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#5 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run()
#6 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(145): GuzzleHttp\Handler\CurlMultiHandler->tick()
#7 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute()
#8 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#9 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#10 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#11 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#12 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#13 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#14 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(58): GuzzleHttp\Promise\Promise->wait()
#15 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(86): Aws\AwsClient->execute()
#16 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php(374): Aws\AwsClient->__call()
#17 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php(1007): S3_Uploads_Stream_Wrapper->{closure}()
#18 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php(372): S3_Uploads_Stream_Wrapper->boolCall()
#19 /var/www/html/veegamcms/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php(343): S3_Uploads_Stream_Wrapper->createStat()
#20 [internal function]: S3_Uploads_Stream_Wrapper->url_stat()
#21 /var/www/html/veegamcms/wp-content/plugins/amp/includes/utils/class-amp-image-dimension-extractor.php(233): file_exists()
#22 /var/www/html/veegamcms/wp-includes/class-wp-hook.php(341): AMP_Image_Dimension_Extractor::extract_by_filename_or_filesystem()
#23 /var/www/html/veegamcms/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#24 /var/www/html/veegamcms/wp-content/plugins/amp/includes/utils/class-amp-image-dimension-extractor.php(69): apply_filters()
#25 /var/www/html/veegamcms/wp-content/plugins/amp/includes/sanitizers/class-amp-img-sanitizer.php(323): AMP_Image_Dimension_Extractor::extract()
#26 /var/www/html/veegamcms/wp-content/plugins/amp/includes/sanitizers/class-amp-img-sanitizer.php(243): AMP_Img_Sanitizer->determine_dimensions()
#27 /var/www/html/veegamcms/wp-content/plugins/amp/includes/templates/class-amp-content-sanitizer.php(147): AMP_Img_Sanitizer->sanitize()
#28 /var/www/html/veegamcms/wp-content/plugins/amp/includes/class-amp-theme-support.php(2021): AMP_Content_Sanitizer::sanitize_document()
#29 /var/www/html/veegamcms/wp-content/plugins/amp/includes/class-amp-theme-support.php(1739): AMP_Theme_Support::prepare_response()
#30 [internal function]: AMP_Theme_Support::finish_output_buffering()
#31 /var/www/html/veegamcms/wp-includes/functions.php(5481): ob_end_flush()
#32 /var/www/html/veegamcms/wp-includes/class-wp-hook.php(341): wp_ob_end_flush_all()
#33 /var/www/html/veegamcms/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#34 /var/www/html/veegamcms/wp-includes/plugin.php(522): WP_Hook->do_action()
#35 /var/www/html/veegamcms/wp-includes/load.php(1308): do_action()
#36 [internal function]: shutdown_action_hook()
#37 {main}