Use of undefined Constant for AWS (JSON_ERROR_…)
-
Hi,
our Error Logs are full of PHP Notices about the usage of undefined Constants within the AWS Library when using the Plugin. Could you please look into this? Makes finding other issues quite hard ??
WordPress is setup als Multisite with a shared config for all sites.
Stack Traces are attached.
Thanks alot,
Jan
Use of undefined constant JSON_ERROR_NONE - assumed 'JSON_ERROR_NONE' in /var/www/web/wp-content/plugins/amazon-web-services/vendor/aws/Aws/Common/Aws.php on line 65 PHP message: PHP Stack trace: PHP message: PHP 1. {main}() /var/www/web/wp-admin/admin-ajax.php:0 PHP message: PHP 2. require_once() /var/www/web/wp-admin/admin-ajax.php:22 PHP message: PHP 3. require_once() /var/www/web/wp-load.php:37 PHP message: PHP 4. require_once() /var/www/web/wp-config.php:87 PHP message: PHP 5. do_action() /var/www/web/wp-settings.php:393 PHP message: PHP 6. call_user_func_array:{/var/www/web/wp-includes/plugin.php:525}() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 7. amazon_web_services_init() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 8. Amazon_Web_Services->__construct() /var/www/web/wp-content/plugins/amazon-web-services/amazon-web-services.php:53 PHP message: PHP 9. do_action() /var/www/web/wp-content/plugins/amazon-web-services/classes/amazon-web-services.php:37 PHP message: PHP 10. call_user_func_array:{/var/www/web/wp-includes/plugin.php:525}() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 11. as3cf_init() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 12. Amazon_S3_And_CloudFront->__construct() /var/www/web/wp-content/plugins/amazon-s3-and-cloudfront/wordpress-s3.php:72 PHP message: PHP 13. Amazon_S3_And_CloudFront->init() /var/www/web/wp-content/plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php:91 ... PHP message: PHP 18. Aws\Common\Aws::factory() /var/www/web/wp-content/plugins/amazon-web-services/classes/amazon-web-services.php:312
Use of undefined constant JSON_ERROR_CTRL_CHAR - assumed 'JSON_ERROR_CTRL_CHAR' in /var/www/web/wp-content/plugins/amazon-web-services/vendor/aws/Aws/Common/Aws.php on line 65 PHP message: PHP Stack trace: PHP message: PHP 1. {main}() /var/www/web/wp-admin/admin-ajax.php:0 PHP message: PHP 2. require_once() /var/www/web/wp-admin/admin-ajax.php:22 PHP message: PHP 3. require_once() /var/www/web/wp-load.php:37 PHP message: PHP 4. require_once() /var/www/web/wp-config.php:87 PHP message: PHP 5. do_action() /var/www/web/wp-settings.php:393 PHP message: PHP 6. call_user_func_array:{/var/www/web/wp-includes/plugin.php:525}() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 7. amazon_web_services_init() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 8. Amazon_Web_Services->__construct() /var/www/web/wp-content/plugins/amazon-web-services/amazon-web-services.php:53 PHP message: PHP 9. do_action() /var/www/web/wp-content/plugins/amazon-web-services/classes/amazon-web-services.php:37 PHP message: PHP 10. call_user_func_array:{/var/www/web/wp-includes/plugin.php:525}() /var/www/web/wp-includes/plugin.php:525 PHP message: PHP 11. as3cf_init() /var/www/web/wp-includes/plugin.php:525 ... PHP message: PHP 16. Amazon_S3_And_CloudFront->is_plugin_setup() /var/www/web/wp-content/plugins/amazon-s3-and-cloudfront/classes/as3cf-plugin-compatibility.php:76 PHP message: PHP 17. Amazon_Web_Services->get_client() /var/www/web/wp-content/plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php:1377 PHP message: PHP 18. Aws\Common\Aws::factory() /var/www/web/wp-content/plugins/amazon-web-services/classes/amazon-web-services.php:312" while reading response header from upstream, client: XXX, server: domain.de, request: "POST /wp-admin/admin-ajax.php
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Use of undefined Constant for AWS (JSON_ERROR_…)’ is closed to new replies.