• Resolved Fullworks

    (@fullworks)


    PDO is not always enabled on all hosts and so your plugin has a fatal error as it doesn’t check for the class existence before using it. Suggest error checking and an admin notice rather than fatal error.

    [29-Oct-2019 07:50:12 UTC] PHP Fatal error: Uncaught Error: Class ‘PDO’ not found in /home/mydomain/public_html/wp-content/plugins/fluentform/app/Services/wpfluent/wpfluent.php:31
    Stack trace:
    #0 /home/mydomain/public_html/wp-content/plugins/fluentform/app/Modules/Registerer/Menu.php(335): wpFluent()
    #1 /home/mydomain/public_html/wp-content/plugins/fluentform/app/Modules/Registerer/Menu.php(205): FluentForm\App\Modules\Registerer\Menu->renderForms()
    #2 /home/mydomain/public_html/wp-includes/class-wp-hook.php(286): FluentForm\App\Modules\Registerer\Menu->renderFormAdminRoute(”)
    #3 /home/mydomain/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #4 /home/mydomain/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /home/mydomain/public_html/wp-admin/admin.php(253): do_action(‘toplevel_page_f…’)
    #6 {main}
    thrown in /home/mydomain/public_html/wp-content/plugins/fluentform/app/Services/wpfluent/wpfluent.php on line 31

    • This topic was modified 2 months, 3 weeks ago by Fullworks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.