freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.75k stars 468 forks source link

php artisan module:list throwing error #4056

Closed Crease29 closed 4 weeks ago

Crease29 commented 1 month ago

Hi there, when trying to run the php artisan module:list command I'm getting the following error in a fresh installation:

[tiredofit/freescout:1.17.73 07:38:01 /www/html] $ php artisan module:list -vvv

In Table.php line 421:
  strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated  

Exception trace:
  at /www/html/vendor/symfony/console/Helper/Table.php:421
 Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at n/a:n/a
 strstr() at /www/html/vendor/symfony/console/Helper/Table.php:421
 Symfony\Component\Console\Helper\Table->buildTableRows() at /www/html/vendor/symfony/console/Helper/Table.php:276
 Symfony\Component\Console\Helper\Table->render() at /www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php:417
 Illuminate\Console\Command->table() at /www/html/vendor/nwidart/laravel-modules/src/Commands/ListCommand.php:29
 Nwidart\Modules\Commands\ListCommand->handle() at n/a:n/a
 call_user_func_array() at /www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php:28
 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php:87
 Illuminate\Container\BoundMethod::callBoundMethod() at /www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php:27
 Illuminate\Container\BoundMethod::call() at /www/html/overrides/laravel/framework/src/Illuminate/Container/Container.php:549
 Illuminate\Container\Container->call() at /www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php:183
 Illuminate\Console\Command->execute() at /www/html/vendor/symfony/console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php:169
 Illuminate\Console\Command->run() at /www/html/vendor/symfony/console/Application.php:992
 Symfony\Component\Console\Application->doRunCommand() at /www/html/vendor/symfony/console/Application.php:255
 Symfony\Component\Console\Application->doRun() at /www/html/vendor/symfony/console/Application.php:148
 Symfony\Component\Console\Application->run() at /www/html/vendor/laravel/framework/src/Illuminate/Console/Application.php:88
 Illuminate\Console\Application->run() at /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:121
 Illuminate\Foundation\Console\Kernel->handle() at /www/html/artisan:60

PHP version: PHP 8.2.19 (cli) (built: May 7 2024 22:06:48) (NTS) FreeScout version: 1.8.141 Database: MySQL Are you using CloudFlare: No Are you using non-official modules: No

freescout-helpdesk commented 1 month ago

Fixed in the master branch and will be published in the next release.