• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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