WP table prefix

3.77K viewsIssuesdatabase
0

Hi Rahul,

I just ran into an issue. For each wordpress site I install I change the table prefix for security reasons. On this install the prefix changed from wp_ to answers_

Now I am having issues on the front end, see attached screenshot. AP is still looking for a table with the default prefix:

[Table ‘xxxxxx_answersfinal.wp_ap_reputations’ doesn’t exist]

It doesn’t as it is called xxxxxx_answersfinal.answers_ap_reputations

 

The table names should be called with prefix, otherwise the default wordpress table name will be used:

$wpdb->prefix . "ap_reputations";

0

Hi Rahul,

Have you had a chance to look at this issue?

0

I also get these notices for the admin page in wordpress

 

Notice: screen_icon is deprecated since version 3.8.0 with no alternative available. in /home/{theme}/answers/wp-includes/functions.php on line 3842

Notice: get_screen_icon is deprecated since version 3.8.0 with no alternative available. in /home/{theme}/answers/wp-includes/functions.php on line 3842

0

Hi Rahul,

When I go to the profile page of any user and click on the about link, here is what I get

https://{domain}/questions/profile/{username}/about/

I am running version 4.1.7

0

Hello,

Please tell me more about the issue. When it happens and in which page?