• Resolved Chris

    (@christof15)


    Hi there,
    Thank you so much for this nice plugin!
    I’ve encountered an error which causes the ‘Overview’ tab to fail loading properly. “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    This is the report that WP send me. Would you be so kind to have a look?
    I really would like to use this plugin to its full power.
    Thanks in advance!

    WordPress versie 5.9
    Plugin: Torque - Optimise the transport of your Website (versie 0.5.8)
    PHP versie 8.0.15
    
    Error details
    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 466 van het bestand /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/overview.php. Foutmelding: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/overview.php:466
    Stack trace:
    #0 /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/overview.php(466): number_format('max-age=1576800...')
    #1 /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/overview.php(531): hexydec\torque\overview->hexydec\torque\{closure}(Array, true)
    #2 /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/overview.php(590): hexydec\torque\overview->drawOverview(Array, Array)
    #3 /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/config.php(541): hexydec\torque\overview->draw()
    #4 /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/admin.php(154): hexydec\torque\config->hexydec\torque\{closure}()
    #5 /home/USERNAME/web/DOMAIN.nl/public_html/wp-admin/includes/template.php(1694): hexydec\torque\admin->hexydec\torque\{closure}(Array)
    #6 /home/USERNAME/web/DOMAIN.nl/public_html/wp-content/plugins/torque/admin.php(127): do_settings_sections('torque')
    #7 /home/USERNAME/web/DOMAIN.nl/public_html/wp-includes/class-wp-hook.php(307): hexydec\torque\admin->hexydec\torque\{closure}('')
    #8 /home/USERNAME/web/DOMAIN.nl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #9 /home/USERNAME/web/DOMAIN.nl/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #10 /home/USERNAME/web/DOMAIN.nl/public_html/wp-admin/admin.php(259): do_action('settings_page_t...')
    #11 /home/USERNAME/web/DOMAIN.nl/public_html/wp-admin/options-general.php(10): require_once('/home/USERNA...')
    #12 {main}
     thrown
    • This topic was modified 2 years, 9 months ago by Chris.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hexydec

    (@hexydec)

    Hi Chris,

    Apologies for the late reply, this is the first issue reported and not sure how WordPress notifies me when someone posts an issue.

    Can you let me know if this is still an issue? The issue looks like a PHP 8.0 compatibility issue, and I have already updated the plugin to work with PHP 8.1.

    Glad you like my plugin.

    Plugin Author hexydec

    (@hexydec)

    Closing this request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error type E_ERROR’ is closed to new replies.