Forums

[Plugin: Advertising Manager] Advertising manager and widgets.php not working together (9 posts)

  1. BestofNJ.com
    Member
    Posted 3 years ago #

    Hi Switzer,

    I am having some problems. I have upgraded my adsense manager to advertising manager to fix a problem with widgets.php. Whenever I try to change anything in Widgets.php, I get this screen [before and after update].

    <img src="http://bestofnj.com/photos/widgets-problem.jpg">

    I am unable to make any changes in my widgets. If I disable ad. mgr. everything works fine. You can see my discussion of this on another forum for my WP theme here:

    http://themehybrid.com/support/topic/widgetsphp-malfunction

    Thanks for your time,
    John

  2. switzer
    Member
    Posted 3 years ago #

    John:

    I am checking it out now. I will let you know how I go...

    Scott

  3. switzer
    Member
    Posted 3 years ago #

    The theme forum that you are pointing to only shows your messages (not the responses). Would you mind cut/pasting the full conversation and sending it to me in email? scott at switzer dot org.

    Thanks,
    Scott

  4. switzer
    Member
    Posted 3 years ago #

    John:

    Per our conversation, this was an issue with the 'Recent' widget.

    Cheers,
    Scott

  5. BestofNJ.com
    Member
    Posted 3 years ago #

    Scott,

    I don't think we have solved this problem. I don't think the conflict is with the Recent Widget.

    I am now getting an error message:

    Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /*******/public_html/wp-includes/wp-db.php on line 429

    I have been trying to find some solution to this problem and I did a manual upgrade to WP 2.7.1, I did an uninstall of all of my plugins and then a reinstall of adv. mgr. I am still getting this error message anytime I try to do any admin function like trying to change a password or add a user, etc.

    The funny thing is, after deleting my adv. mgr install and doing a new install, I was expecting to have to restore all of my ad settings. When I went to do that, all of the old ads were there in edit ads on the dashboard. Doesn't that mean that the old ads were saved in the database, and to get a fresh install that I need to delete them from the database. [which I am very leery of doing]

    I know that this may not be your plugins fault, but can you tell me what the error message could have been caused by and why I cannot get it to go away?

    John

  6. BestofNJ.com
    Member
    Posted 3 years ago #

    Scott,

    For now, I have things working.

    This simple fix worked for me:

    pdreissen
    Member
    Posted 6 months ago #
    Fix this by ommitting the addslashes function:

    Change the
    return addslashes( $string );

    into:

    return $string;

    John

  7. narlysoftware
    Member
    Posted 3 years ago #

    I've always liked the adsense Manager because I only needed to enter my adssense ID and my channel. Is there a way to get that functionality?

    Could you give a skeleton of the google adsense to paste into your window? The only pices of code I have are from the pages generated by previouse websites using your old adsense manager. they don't work with the new advertising manager.

  8. BestofNJ.com
    Member
    Posted 3 years ago #

    I have bad news and I want to share it in case anyone else runs across this Catchable fatal error in wp-db.php. The simple fix that I used above fix my previous problems and made bigger problems.

    I now have bigger problems that I did not have before. I now have a situation where I cannot make posts. It seems that most of the text that I enter into text boxes is simply wiped out when I hit the update or publish button.

    Now I am really confused and I think I have to do the big job of starting over.

    John

  9. switzer
    Member
    Posted 3 years ago #

    frenchtowner:

    Sorry to hear of your issues. When I checked out your system, Advertising Manager was working fine, and there was an issue with the Recent Items widget. That said, this could be a symptom, and not the cause (as you outline above).

    If you find out that your issues above are related to Advertising Manager, please post your findings!

    Good luck,
    Scott

Topic Closed

This topic has been closed to new replies.

About this Topic