-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Bug] PHP 8 Warning: mysqli_query(): The regular expression contains an unclosed bracket expression. #123
Comments
@bwmarkle This isn't causing any known major issues, but it has been blamed for unrelated issues when examining debug logs |
@bwmarkle another hit in support about this warning https://www.boldgrid.com/feedback/helpdesks/14/tickets/21022-error-missing-bracket |
@jamesros161 can you help out with this one? |
Looking into it |
Getting the same. (w/ DreamHost, PHP 8) |
Hi @looscrew - The best immediate fix is to disable WP_DEBUG_DISPLAY in your wp_config.php file. The message itself is just a warning, and doesn't affect operation of the site. Keeping WP_DEBUG_DISPLAY set to false is a good idea in general, because it can show errors to your visitors too. Check out this article on WP_DEBUG. |
Hi @jessecowens, thanks for the response. |
Hi @looscrew - If you'd like to help us test the fix, change line 1300 of
If you'd rather just clean up your logs and admin screen, and you've already installed an Inspiration on your staging site, you could also temporarily deactivate the plugin to clean up your logs, the only functionality you'll be missing is the Connect Search stock photo library. |
Hi @jessecowens. I appreciate the care. |
Describe the bug
Running PHP 8, the following warnings are thrown when BoldGrid Inspirations is active on every administration screen:
To Reproduce
Steps to reproduce the behavior:
Additional context
These warnings were reported by DreamHost, and replicated on a local installation using PHP 8
The text was updated successfully, but these errors were encountered: