• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Laravel Toolkit generates Laravel Exception whenever used

Martin Allen

New Pleskian
Username:

TITLE

Laravel Toolkit generates Laravel Exception whenever used

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Laravel Toolkit, Version 1.4.2-221, AlmaLinux 8.7 (Stone Smilodon)

PROBLEM DESCRIPTION

Whenever an action within the Laravel Toolkit is triggered e.g. deployment, the following Exception is thrown by Laravel

production.ERROR: There are no commands defined in the "plesk-ext-laravel" namespace. {"exception":"[object] (Symfony\Component\Console\Exception\NamespaceNotFoundException(code: 0): There are no commands defined in the "plesk-ext-laravel" namespace. at /var/www/vhosts/***redacted***/application/vendor/symfony/console/Application.php:632)"} []

Instead of simply executing a command in the "plesk-ext-laravel" namespace, the "Laravel Toolkit" should first check if the package is installed.

This causes Laravel Logs to include lots of extra unnecessary exceptions, and automated error logging (e.g. automated error notifications to Slack / Email) are constantly being triggered

STEPS TO REPRODUCE

Setup a Laravel Application that does NOT have the plesk-ext-laravel package installed

Perform an automated deployment, then check the Laravel logs

ACTUAL RESULT

production.ERROR: There are no commands defined in the "plesk-ext-laravel" namespace. {"exception":"[object] (Symfony\Component\Console\Exception\NamespaceNotFoundException(code: 0): There are no commands defined in the "plesk-ext-laravel" namespace. at /var/www/vhosts/***redacted***/application/vendor/symfony/console/Application.php:632)"} []

is added to logs (as Logs can be configured differently in each Laravel application, results may vary depending upon this configuration)

EXPECTED RESULT

No Exceptions to be thrown

ANY ADDITIONAL INFORMATION

See Issue - Latest update on "Laravel Toolkit" causes Errors
for more info

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for reporting. This has been forwarded as ID [PPS-13969] to developers. You can use this ID to point support staff to the case if new questions come up.
 
The bug was already known and has also been fixed here already. The fix will become available in one of the nearest updates. Issue ID [EXTPLESK-4335].
 
Back
Top