-
Notifications
You must be signed in to change notification settings - Fork 83
Fix fatal error issue in in_array function #445
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
Would you be up for adding a test for this as well? Please also update the branch by merging the latest changes from the main branch |
Hmm now there are some changes from |
@itsmekopila friendly ping 👋 would you be able to address the diff issues and add some tests? |
I'm setting up WP-CLI tests locally to run tests and will fix diff issues. |
Hi @swissspidy, Could you please guide me on how to set up the database and connect it properly to run Behat? I followed the WP CLI tests guide but ran into some issues. It seems like I wasn't able to connect the database correctly. When I run the Could you please guide me through the setup and testing process from the start? Thanks in advance! |
Since you're using MariaDB, I'd suggest running We just merged some MariaDB-related improvements on Friday to make running tests more robust. Then Using SQLite is a nice workaround though, then you don't need to run |
Fix: #429
A fatal error occurred in the in_array function when the site options auto_update_plugins and auto_update_themes were set to string values. I fixed this by adding a condition to check if they are not arrays.