Unit Test Errors
-
New to the plugin. I have created a post with amazon links, but I do not see the affiliate tag added automatically. The button functionality seems to work however. When I ran the unit tests every test fails with errors similar to below errors. WordPress version is 5.5.1.
Any help is appreciated.
Failed AmazonAutoLinks_UnitTest_FrameworkUtility
500: error .wp-die-message { display: none; } Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]])in /var/www/wordpress/wp-content/plugins/amazon-auto-links/include/core/component/test/event/ajax/AmazonAutoLinks_Test_Event_Ajax_Tests.php on line 80Call stack:Exception::__construct()wp-content/plugins/amazon-auto-links/include/core/component/test/event/ajax/AmazonAutoLinks_Test_Event_Ajax_Tests.php:80AmazonAutoLinks_Test_Event_Ajax_Tests::_getResponse()wp-content/plugins/amazon-auto-links/include/core/_common/event/ajax/AmazonAutoLinks_AjaxEvent_Base.php:82AmazonAutoLinks_AjaxEvent_Base::_doAction()wp-content/plugins/amazon-auto-links/include/core/_common/event/wpcron/AmazonAutoLinks_Event___Action_Base.php:72AmazonAutoLinks_Event___Action_Base::replyToDoAction()wp-includes/class-wp-hook.php:287WP_Hook::apply_filters()wp-includes/class-wp-hook.php:311WP_Hook::do_action()wp-includes/plugin.php:478do_action()wp-admin/admin-ajax.php:176Query MonitorThere has been a critical error on your website.Learn more about debugging in WordPress.File: var/www/wordpress/wp-content/plugins/amazon-auto-links/include/core/component/test/run/tests/admin_page_framework/AmazonAutoLinks_UnitTest_FrameworkUtility.phpFailed AmazonAutoLinks_UnitTest_FrameworkUtility_Transient
500: error .wp-die-message { display: none; } Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]])in /var/www/wordpress/wp-content/plugins/amazon-auto-links/include/core/component/test/event/ajax/AmazonAutoLinks_Test_Event_Ajax_Tests.php on line 80Call stack:Exception::__construct()wp-content/plugins/amazon-auto-links/include/core/component/test/event/ajax/AmazonAutoLinks_Test_Event_Ajax_Tests.php:80AmazonAutoLinks_Test_Event_Ajax_Tests::_getResponse()wp-content/plugins/amazon-auto-links/include/core/_common/event/ajax/AmazonAutoLinks_AjaxEvent_Base.php:82AmazonAutoLinks_AjaxEvent_Base::_doAction()wp-content/plugins/amazon-auto-links/include/core/_common/event/wpcron/AmazonAutoLinks_Event___Action_Base.php:72AmazonAutoLinks_Event___Action_Base::replyToDoAction()wp-includes/class-wp-hook.php:287WP_Hook::apply_filters()wp-includes/class-wp-hook.php:311WP_Hook::do_action()wp-includes/plugin.php:478do_action()wp-admin/admin-ajax.php:176Query MonitorThere has been a critical error on your website.Learn more about debugging in WordPress.File: var/www/wordpress/wp-content/plugins/amazon-auto-links/include/core/component/test/run/tests/admin_page_framework/AmazonAutoLinks_UnitTest_FrameworkUtility_Transient.phpThe page I need help with: [log in to see the link]
- The topic ‘Unit Test Errors’ is closed to new replies.