• I’m using WordPress 3.6 locally on a WAMP server running PHP 5.4.12 and have found the following: Index.php on line 151 is performing a mysql_query of wp_roundabout_settings. The following warning message is being returned in the footer section of the web page – Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\canvas3\wp-content\plugins\wp-roundabout-pro\index.php on line 151. I couldn’t find a table for ‘wp_roundabout_settings’ so I changed the query to look for ‘wp_rbt_slides’ and the warning disappeared. Just want to make sure I’m not masking something.

    Thanks

    https://www.ads-software.com/plugins/wp-roundabout-pro/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Same problem even deleting the plugin dos noting….

    scogie: solution dose noting for me (did not work)

    a search in google “wp-roundabout-pro/index.php on line 151” returned over 250 results so we are not alone.

    Thread Starter scogie

    (@scogie)

    Hi Claude5670,

    Weird. Did you clear your cache? More details on what I had done:
    changed the following code in …/wp-roundbout-pro/index.php
    from:
    $settingsxx=mysql_fetch_assoc(mysql_query("SELECT * FROMwp_roundabout_settingslimit 1"));
    to:
    $settingsxx=mysql_fetch_assoc(mysql_query("SELECT * FROMwp_rbt-slideslimit 1"));

    With that said, maybe Sakush can point us in the right direction?

    Thx

    Thread Starter scogie

    (@scogie)

    Note: tick marks should be included around wp_roundabout_settings and wp_rbt_slides in the prior entry. Also, the entry for wp_rbt-slides in the prior entry should have an underscore and not a dash between rbt and slides.

    Thx but still getting the Warning:

    very frustrating

    Got-it THX scogie

    Hi Guys,
    I am having the same problem. Would one of you mind posting the most recent code change please. I might not have applied the last post from scogie correctly. I am using wp 3.61.

    Thanks!

    This is what I tried but still received the error

    $settingsxx=mysql_fetch_assoc(mysql_query(“SELECT * FROM’wp_rbt_slides’limit 1”));

    Thread Starter scogie

    (@scogie)

    Hi Daverad,

    Give this a try: $settingsxx=mysql_fetch_assoc(mysql_query(“SELECT * FROM wp_rbt_slideslimit 1″));

    Thread Starter scogie

    (@scogie)

    I need a lesson in posting code. So with the latest code, add a backtick before and after wp_rbt_slides. There is a space between FROM and backtick wp_rbt_slides.

    Hi Scogie,
    Thanks for your help with this. Here is what I tried.

    $settingsxx=mysql_fetch_assoc(mysql_query("SELECT * FROMwp_rbt_slideslimit 1"));

    Is this correct? It still gives me the error.

    If I delete this line of code, the error goes away but the slideshow still works. Not sure what it is for or if deleting it is a good solution.

    The post took away the backticks inserted around wp_rbt_slides!

    Thread Starter scogie

    (@scogie)

    That’s weird. I stopped using this plugin but reinstalled it to recreate the issue. When you had the new line of code in place what was showing on line 151 of wp-content\plugins\wp-roundabout-pro\index.php? With the original code, a call was being made to a table that didn’t exist which was the cause of the line 151 issue. Once we pointed it to wp_rbt_slides the error left since that table existed. Is your table prefix something other than wp_?

    I’ll reach out to the plug-in author so he can review this thread and update the plugin.

    Thread Starter scogie

    (@scogie)

    Hi Satish (sakush100),

    I couldn’t find a way to contact you directly. Could you check out the preceding entries of this topic? I’m hoping you can tweak the plugin and offer a new version if needed. Please let me know if further information is required.

    Thanks,
    Scogie

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Warning message returned in footer’ is closed to new replies.