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

Error message #13

Closed
morphtown opened this issue Jun 19, 2023 · 1 comment
Closed

Error message #13

morphtown opened this issue Jun 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@morphtown
Copy link

WordPress version 6.2.2
Active theme: Twenty Twenty-Three (version 1.1)
Current plugin: Fediverse Embeds (version 1.0.0)
PHP version 8.0.26

Error Details

An error of type E_ERROR was caused in line 60 of the file /var/www/.../wp-content/plugins/fediverse-embeds-wordpress-plugin-main/includes/Helpers.php. Error message: Uncaught TypeError: log(): Argument #1 ($num) must be of type float, string given in /var/.../wp-content/plugins/fediverse-embeds-wordpress-plugin-main/includes/Helpers.php:60
Stack trace:
#0 /var/www/.../wp-content/plugins/fediverse-embeds-wordpress-plugin-main/includes/Helpers.php(60): log()
#1 /var/www/.../wp-content/plugins/fediverse-embeds-wordpress-plugin-main/includes/Helpers.php(53): FTF_Fediverse_Embeds\Helpers::format_bytes()
#2 /var/www/.../wp-content/plugins/fediverse-embeds-wordpress-plugin-main/includes/Settings.php(184): FTF_Fediverse_Embeds\Helpers::get_directory_size()
#3 /var/www/.../wp-admin/includes/template.php(1773): FTF_Fediverse_Embeds\Settings->render_settings_form()
#4 /var/www/.../wp-content/plugins/fediverse-embeds-wordpress-plugin-main/includes/Settings.php(50): do_settings_sections()
#5 /var/www/.../wp-includes/class-wp-hook.php(308): FTF_Fediverse_Embeds\Settings->render_settings_page()
#6 /var/www/.../wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /var/www/.../wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /var/www/.../wp-admin/admin.php(259): do_action()
#9 /var/www/.../options-general.php(10): require_once('...')
#10 {main}
thrown

@stefanbohacek
Copy link
Owner

@morphtown Thank you for filing the issue, this should be fixed now. Mind giving it another try?

@stefanbohacek stefanbohacek added the bug Something isn't working label Jun 19, 2023
@stefanbohacek stefanbohacek self-assigned this Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants