• Hi,
    my theme has been checked with your plugin and several time (in several php-files) it found the following error:
    Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.

    Is this really an incompatibility with PHP7?

    Thanks for answering.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Martin999

    (@martin999)

    To add the affected files:
    FILE: /kunden/aaa_bbb/xxx/wp-content/themes/headway/library/admin/admin.php
    FILE: /kunden/aaa_bbb/xxx/wp-content/themes/headway/library/common/application.php
    FILE: /kunden/aaa_bbb/xxx/wp-content/themes/headway/library/maintenance/upgrades.php

    Plugin Contributor Jason Stallings

    (@octalmage)

    Hi @martin999

    Could you share the relevant code? If it’s the function mysql_to_rfc3339 then it is compatible. We’ve got an issue to fix this here:

    https://github.com/wpengine/phpcompat/issues/79

    Thread Starter Martin999

    (@martin999)

    Hi Jason,
    the code looks like this:

    In file …/application.php:

    … self::mysql_dbdelta();
    … public static function mysql_drop_tables() {
    global $wpdb;

    /* Drop tables first */
    $wpdb->query( “DROP TABLE IF EXISTS $wpdb->hw_blocks” );
    }
    public static function mysql_dbdelta() {

    In file …/admin:

    /* Drop Headway tables */
    Headway::mysql_drop_tables();

    In file …maintenance/upgrade:

    … else {
    Headway::mysql_dbdelta();
    HeadwayElementsData::merge_core_default_design_data();

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Extension ‘mysql_’ as Error?’ is closed to new replies.