Hey!
Any news on the new v4? I am waiting for the new dashboard etc.
Thanks
Hey!
Any news on the new v4? I am waiting for the new dashboard etc.
Thanks
Hey @MateThemes
It’s getting there… any day now.
Here’s the quickstart/draft guide that should be the basis of the beta version. Upgrading from v3…
"require": {
"php": "^8.2",
"october/rain": "4.x-dev",
"october/all": "4.0.x-dev",
"laravel/framework": "^12.0"
},
curl -o ./config/app.php https://raw.githubusercontent.com/octobercms/october/refs/heads/4.x/config/app.php
curl -o ./bootstrap/app.php https://raw.githubusercontent.com/octobercms/october/refs/heads/4.x/bootstrap/app.php
curl -o ./bootstrap/providers.php https://raw.githubusercontent.com/octobercms/october/refs/heads/4.x/bootstrap/providers.php
Hi
in composer I also replace
"minimum-stability": "dev",
Should I run some migrations?
php artisan october:migrate
Give errors.
In routes.php line 3:
The use statement with non-compound name 'App' has no effect
Also there is error in admin dashboard
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_custom' in 'field list' (Connection: mysql, SQL: select `is_custom`, `owner_field` from `backend_dashboards` where `owner_type` = Backend\Controllers\Index order by `backend_dashboards`.`sort_order` asc)
Hi @bob-tm,
You can remove the use App;
statement from your routes.php
file.
After that, run php artisan october:migrate
and the error should be resolved:
SQLSTATE[42S22]: Column not found: 1054
Unknown column 'is_custom'
in 'field list'
(Connection: MySQL, SQL: SELECT is_custom, owner_field FROM backend_dashboards WHERE owner_type = Backend\Controllers\Index ORDER BY backend_dashboards.sort_order ASC
)
More detailed instructions can be found here:
Thanks, works!
I have custom twig filter ‘inline’ that simply read file content and return is as text.
in v4 all text after custom filter is escaped. So I need to use two filters | inline | raw.
it’s possible to “apply” raw filter in plugin and do not change templates?
looks perfect the new version.
Congratulations.
Hi,
When running the upgrade guide everything went normal , but when accessing the backedn I get the following error:
October\Rain\Assetic\Combiner::getFilters(): Argument #2 ($isProduction) must be of type bool, null given, called in /var/www/newsite-dev/vendor/october/rain/src/Assetic/Combiner.php on line 66
On the frontend I get
Carbon\Exceptions\InvalidTimeZoneException
Unknown or bad timezone ()
Php 8.2.28
Thanks for your help
ERROR
We’re sorry, but an unhandled error occurred. Please see the details below.
CSRF token mismatch.
~/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php line 645
Even if the token is stopped in a file .env
ENABLE_CSRF=false
the same error still appears.