Viewing 9 replies - 1 through 9 (of 9 total)
  • Same here: The content of the Dashboard page (/wp-admin/admin.php?page=itsec) breaks after

    Database Information
    MySQL Database Version: 5.6.25-73.0-log
    MySQL Client Version:
    Fatal error: Uncaught Error: Call to undefined function mysql_get_client_info() in /var/***/wp-content/plugins/better-wp-security/core/content/system.php:70 Stack trace: #0 /var/***/wp-content/plugins/better-wp-security/core/class-itsec-dashboard-admin.php(119): require_once() #1 /var/***/wp-admin/includes/template.php(1037): ITSEC_Dashboard_Admin->metabox_normal_system_info(NULL, Array) #2 /var/***/wp-content/plugins/better-wp-security/core/class-itsec-core.php(1578): do_meta_boxes(Object(WP_Screen), ‘advanced’, NULL) #3 /var/***/wp-includes/plugin.php(525): ITSEC_Core->render_page(”) #4 /var/***/wp-admin/admin.php(236): do_action(‘toplevel_page_i…’) #5 {main} thrown in /var/***/wp-content/plugins/better-wp-security/core/content/system.php on line 70

    I found out that mysql_get_client_info() was removed in PHP 7.

    Error thrown

    Call to undefined function mysql_get_client_info()

    Strange, because not all my sites (while on same server) give this error.

    Error only shows while visiting the ithemes dashboard

    Method I:
    Contact hosting service provider where MySQL version is higher than 5.5.40. Ask them to load atleast MySQL v5.5.40.

    (or)

    Method II: Temporary solution
    Edit line no.70 in system.php file at
    wp-content>>plugins>>better-wp-security>>core>>content>>system.php

    After finding the above system.php file edit line no.70 like this:

    mysql_get_client_info() to mysqli_get_client_info()

    Note for method II:
    Whenever a plugin updated, the above process need to be repeated again

    Thank you ! I was wondering what makes the break ??

    Thread Starter Brummbaer

    (@brummbaer)

    Same problem and work around in Version 5.2.0

    Same problem here, I really hope they fixed this soon… My site is running way more faster on PHP 7…
    Error thrown
    Call to undefined function mysql_get_client_info()</em
    >

    Seems to be issue resolved after the latest version v5.2.1

    @brummbaer

    Please mark this topic as ‘resolved’.

    dwinden

    Thread Starter Brummbaer

    (@brummbaer)

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘iThemes Security and PHP 7’ is closed to new replies.