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

Fatal Error: Uncaught TypeError: log() #77

Closed
midweste opened this issue Apr 9, 2024 · 1 comment
Closed

Fatal Error: Uncaught TypeError: log() #77

midweste opened this issue Apr 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working compatibility Issues around php / sql / wordpress version compatibility

Comments

@midweste
Copy link

midweste commented Apr 9, 2024

Newest version throwing fatal on /wp-admin/tools.php?page=imfs_settings&tab=monitor_database_operations and /wp-admin/tools.php?page=imfs_settings&tab=high_performance_keys

[09-Apr-2024 23:18:24 UTC] PHP Fatal error:  Uncaught TypeError: log(): Argument #1 ($num) must be of type float, string given in /app/web/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/base_utility/AdminPageFramework_Utility.php:138
Stack trace:
#0 /app/web/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/base_utility/AdminPageFramework_Utility.php(138): log('-', 1024)
#1 /app/web/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/_abstract/_view/AdminPageFramework_PageLoadInfo_Base.php(48): Imfs_AdminPageFramework_Utility_String::getReadableBytes('-')
#2 /app/web/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/_abstract/_view/AdminPageFramework_PageLoadInfo_Base.php(37): Imfs_AdminPageFramework_PageLoadInfo_Base->___getPageLoadStats()
#3 /app/web/wp-includes/class-wp-hook.php(324): Imfs_AdminPageFramework_PageLoadInfo_Base->_replyToGetPageLoadInfo('<span class='ap...')
#4 /app/web/wp-includes/plugin.php(205): WP_Hook->apply_filters('<span class='ap...', Array)
#5 /app/web/wp-admin/admin-footer.php(65): apply_filters('update_footer', '')
#6 /app/web/wp-admin/admin.php(297): require_once('/app/web/wp-adm...')
#7 /app/web/wp-admin/tools.php(40): require_once('/app/web/wp-adm...')
#8 {main}
  thrown in /app/web/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/base_utility/AdminPageFramework_Utility.php on line 138
@OllieJones OllieJones self-assigned this May 30, 2024
@OllieJones OllieJones added bug Something isn't working compatibility Issues around php / sql / wordpress version compatibility labels May 30, 2024
@OllieJones
Copy link
Owner

Thanks for the bug report and sorry for the inconvenience. Fixed in next release. This can be concealed by removing WP_DEBUG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility Issues around php / sql / wordpress version compatibility
Projects
None yet
Development

No branches or pull requests

2 participants