Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean
-
There was already topic about this error Warning message returned in footer
But it’s closed, so I suggest my solution to remove Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in mysite\wp-content\plugins\wp-roundabout-pro\index.php on line 151It can be cured by next steps:
1. Dashboard -> Plugins -> Editor
2. At top right Select plugin to Edit – WP Round About Pro
3. Check if wp-roundabout-pro/index.php is selected
4. Comment code from line 148 to 158:
from /*function footer_linking_data(){
to
add_action(‘wp_footer’, ‘footer_linking_data’,1);*/You can do this because this piece of code just add link to the footer and variable $settingsxx(where error is happened) not used anywhere in this plugin.
5. Press “Update File” buttonRemarks: This is applicable to index.php for version 4.1(which is not updated more than a year)
- The topic ‘Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean’ is closed to new replies.