Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Termwind\render(): Argument #2 ($options) must be of type int, null given #918

Closed
dominikhalvonik opened this issue Jun 26, 2024 · 1 comment · Fixed by #920
Closed

Termwind\render(): Argument #2 ($options) must be of type int, null given #918

dominikhalvonik opened this issue Jun 26, 2024 · 1 comment · Fixed by #920
Labels

Comments

@dominikhalvonik
Copy link

Laravel Version

10.48.14

PHP Version

8.2.2

Database Driver & Version

Mysql 8.0.31

Description

After starting Openswoole server via php artisan command everything is fine. But after first HTTP request is received, the following error displays in console:

In Functions.php line 39:
Termwind\render(): Argument laravel/framework#2 ($options) must be of type int, null given,
called in /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Vie
w/Components/Component.php on line 52

The versions of Laravel and Octaine are 10.48.14 and 2.5.0. After moving back to 10.48.12 and 2.4.0 all works fine. The issue is probably in Laravel it self not in Octaine based on the error log but wanted to give full picture.

Steps To Reproduce

  1. Download Laravel 10.48.14
  2. Add Octane 2.5.0
  3. Start application via php artisan octane:start --server=swoole --host=0.0.0.0 --port=9000
  4. Execute HTTP request
@crynobone crynobone transferred this issue from laravel/framework Jun 26, 2024
@crynobone
Copy link
Member

Octane 2.5.0 introduce usage of Termwind via #917 instead of Symfony output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants