This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Duke 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28047

    szs.wiki.mailer
    Participant
    Premium Member

    Hello,

    For some reason, I’ve enabled the debug mode through wp-config.php, by: define( 'WP_DEBUG', true );

    And found the next error:

    WordPress database error: [Table 'WPDBName.wp_options' doesn't exist]
    select * from wp_options where option_name='theme_mods_ashe-pro

    Then I searched the content of the directory ashe-pro-premium/ and found that, on line 1277 in functions.php, the table_prefix is hard coded as wp_ instead to be used the variable $table_prefix. So I’ve edited this line in the following way:

    $ashe_pro_unsr = $wpdb->get_results( "select * from ". $table_prefix ."options where option_name='theme_mods_ashe-pro'" );

    The error message disappear! It will be nice to make this change in the further update of Ashe Pro!

    Best regards!

    Spas Spasov

    Here you are few screen shots:

    https://ibb.co/bPYO5U

    https://ibb.co/iO7Eep

    https://ibb.co/h0nEep

    #28066

    Duke
    Keymaster
    WP Royal Team

    Hi Spas,

    Thanks for finding and fixing a bug in the theme. I’m working on a theme update right now and will fix this as well.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.