You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Hmm now there are some changes from main in this diff π€ I was thinking more of a simple git merge main or git rebase main. But anyhow, some tests would be good. Let us know if you need help with that.
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 composer run prepare-tests command, I get the error shown in the attached file. Also, when I run composer run behat, it just gets stuck and doesnβt load anything. I try with database type splite also.
Could you please guide me through the setup and testing process from the start?
@itsmekopila Looking at the error you've posted, I can see that the script detected MySQL v10.4, which seems to be a bug in the script. I'll check to find out what is going on. I'm assuming you're using MariaDB v10.4.
You have the mysql client binary installed and that makes the script think it is using MySQL, as it erroneously checks the client instead of the server.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.