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

Issues with PHP 8.3 #1075

Closed
borcherds-ralph opened this issue Mar 1, 2024 · 1 comment
Closed

Issues with PHP 8.3 #1075

borcherds-ralph opened this issue Mar 1, 2024 · 1 comment
Milestone

Comments

@borcherds-ralph
Copy link

Winter CMS Build

1.2

PHP Version

Other (please specify below)

Database engine

MySQL/MariaDB

Plugins installed

any plugin

Issue description

When you use composer to install a plugin that has a database table with it and then run the php artisan migrate script, the migration script does not run for the plugin.

In the Updates & Plugins page with PHP 8.3 you do not get that updated with the plugins you have installed with composer.

When you run the artisan migrate command you get this message with PHP 8.3

In VersionManager.php line 360:

Increment on type bool has no effect, this will change in the next major version of PHP

Steps to replicate

Make sure you are running PHP 8.3.
Fresh install of WinterCMS 1.2.4

Workaround

Downgrade PHP to 8.2 and everything seems to work with the plugins showing in Updates & Plugin page and the migrations for the plugins work and the database tables are created.

@LukeTowers
Copy link
Member

This has been fixed on develop. We will be releasing the next version shortly. Thanks!

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

No branches or pull requests

2 participants