Support » Fixing WordPress » Strange string of code appearing at top of Dashboard

  • Resolved einstem

    (@einstem)


    I am running WordPress locally to do some testing for a new theme and everything seems to be OK except I see the following line of code that is appearing at the top of my dashboard:

    ‘ . $blog_title . ”; } return $content; } add_filter(‘the_content’, ‘display_post_end_notice’); ?>

    Any item what this is from??

    It doesn’t happen on my “live” site, only on this “dev” site I recently created using a wordpress install on my local PC.

    Thanks.

    Michael

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    First off, try a few basic troubleshooting steps:
    – flushing any caching plugins you might be running, as well as server and/or browser caches.
    – deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If that does not resolve the issue, try switching to the unedited default Twenty Fourteen Theme for a moment using the WP dashboard to rule out any theme-specific issue.

    Thread Starter einstem

    (@einstem)

    Got it!. Was a plugin.

    It was an old plugin I had called “post copyright plugin” that puts a small copyright notice at the bottom of every post.

    https://wordpress.org/plugins/post-copyright-plugin/

    I deactivated then all and the error string went away and started to reactivate them one by one…

    Has worked fine for years, but seems to have a conflict with either the new theme I am trying out or a recent WordPress update.

    This plugin doesn’t seem to be supported for several years, so I will search around and try to find another one that doesn’t cause this problem, or there may even be a way to do it automatically with the new theme I am using – not sure yet.. still learning all the options.

    If you know a good plugin for adding a copyright notice to the bottom of each one, let me know.

    And Thanks! – should have thought to try this myself.

    Michael

    Moderator t-p

    (@t-p)

    You are welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strange string of code appearing at top of Dashboard’ is closed to new replies.