• Resolved mattgivertz

    (@mattgivertz)


    Hi

    I’ve noticed the following error in the error logs on our staging server.

    PHP Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /nas/content/live/bagsofbo464stg/wp-content/plugins/wp-optimize-premium/includes/class-wpo-db-table-analysis.php:399#012Stack trace:#012#0 /nas/content/live/bagsofbo464stg/wp-content/plugins/wp-optimize-premium/includes/class-wpo-db-table-analysis.php(399): array_keys(false)#012#1 /nas/content/live/bagsofbo464stg/wp-content/plugins/wp-optimize-premium/includes/class-wpo-db-table-analysis.php(189): WPO_DB_Table_Analysis::get_query_table(‘COMMIT /* From …’)#012#2 /nas/content/live/bagsofbo464stg/wp-includes/class-wp-hook.php(341): WPO_DB_Table_Analysis->execute_query_analysis(”)#012#3 /nas/content/live/bagsofbo464stg/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)#012#4 /nas/content/live/bagsofbo464stg/wp-includes/plugin.php(522): WP_Hook->do_action(Array)#012#5 /nas/content/live/bagsofbo464stg/wp-includes/load.php(1308): do_action(‘shutdown’)#012#6 [internal function]: shutdown_action_hook()#012#7 {main}#012 thrown in /nas/content/live/bagsofbo464stg/wp-content/plugins/wp-optimize-premium/includes/class-wpo-db-table-analysis.php on line 399

    I tried testing scheduling database optimisations to avoid having to manually do them. The selected optimisations were; Clean all post revisions, Clean all auto-draft posts, Clean all trashed posts , Remove spam and trashed comments and Remove expired transient options. When I run the optimisation manually everything functions OK with no errors logged.

    Regards
    Matt

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support jbgupdraft

    (@jbgupdraft)

    Hi Matt,

    Thanks for contacting us! Looking at the error it looks like you are using WP-Optimize Premium. Can you submit a support ticket on our website as we aren’t allowed to provide support here for users of our Premium plugins.

    Thank you!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.