WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Error when activated

[Resolved] Error when activated

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Devin Walker

    @dlocc

    Thanks for bringing this up – I’m going to check it out and report back!

    I ran into a similar issue because my database tables have a different table prefix. I was able to clear the errors by modifying line 50 of wp-admin-icons-init.php.

    FROM:

    $result = mysql_query("SELECT option_value FROM wp_options WHERE option_name = 'siteurl'");

    TO:

    global $wpdb;
    $result = mysql_query("SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'");
    Plugin Author Devin Walker

    @dlocc

    In version 1.3 I replaced the function all together so now there’s no mysql_query – it’s using a better method at all the settings link to the plugins page.

    Thanks @lei Scofield for posting your solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Error when activated’ is closed to new replies.