Skip to content

Fix page cache purge #6

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

Open
spiralofhope opened this issue Jul 17, 2024 · 0 comments
Open

Fix page cache purge #6

spiralofhope opened this issue Jul 17, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@spiralofhope
Copy link
Owner

When attempting to perform a page cache clear, e.g. https://blog.spiralofhope.com/?clear-blogtext-cache=true

  • WordPress version 6.6
  • Current plugin: BlogText for WordPress (version 0.9.10)
  • PHP version 8.1.29
An error of type E_ERROR was caused in line 75 of the file /path/to/blog.spiralofhope.com/wp-content/plugins/blogtext/api/cache-api.php. Error message: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, string given in /path/to/blog.spiralofhope.com/wp-content/plugins/blogtext/api/cache-api.php:75
Stack trace:
#0 /path/to/blog.spiralofhope.com/wp-content/plugins/blogtext/api/cache-api.php(75): mysqli_query()
#1 /path/to/blog.spiralofhope.com/wp-content/plugins/blogtext/markup/markup_cache.php(154): MSCL_PersistentObjectCache->clear_cache()
#2 /path/to/blog.spiralofhope.com/wp-content/plugins/blogtext/markup/blogtext_markup.php(276): MarkupCache->clear_page_cache()
#3 /path/to/blog.spiralofhope.com/wp-content/plugins/blogtext/admin/adminbar.php(61): BlogTextMarkup::clear_page_cache()
#4 /path/to/blog.spiralofhope.com/wp-includes/class-wp-hook.php(324): BlogTextAdminBarMenu->handle_request()
#5 /path/to/blog.spiralofhope.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /path/to/blog.spiralofhope.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /path/to/blog.spiralofhope.com/wp-settings.php(700): do_action()
#8 /path/to/blog.spiralofhope.com/wp-config.php(108): require_once('/path/to/blog....')
#9 /path/to/blog.spiralofhope.com/wp-load.php(50): require_once('/path/to/blog....')
#10 /path/to/blog.spiralofhope.com/wp-admin/admin.php(34): require_once('/path/to/blog....')
#11 /path/to/blog.spiralofhope.com/wp-admin/plugins.php(10): require_once('/path/to/blog....')
#12 {main}
  thrown
@spiralofhope spiralofhope added the bug Something isn't working label Jul 17, 2024
@spiralofhope spiralofhope added the help wanted Extra attention is needed label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant