• Resolved Robert Frost

    (@frostr425)


    I posted this on the multisite thread but wanted to post it here as well to see if anyone has run into this. I currently have 3 sites installed in a sub-domain multisite setup with the latest version 4.4.1.

    My first two sites are working well. My third site is displaying posts on every page. I haven’t changed anything in the templates in weeks so I’m not sure what could be causing this. I have deactivated all plugins within the site and from the network.

    I enabled debugging and all that was displayed was:

    [29-Jan-2016 14:06:01 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in C:\inetpub\wwwroot\wordpress\wp-includes\functions.php on line 3624
    [29-Jan-2016 14:06:01 UTC] PHP Notice:  Use of undefined constant ‘name’ - assumed '‘name’' in C:\inetpub\wwwroot\wordpress\wp-content\themes\shakespeare\footer.php on line 54

    I got those lines over and over but nothing else showed up.

    Any ideas where I need to look? I’m going to create a new subdomain site and add a few pages and posts quick to see if it’s only affecting new sites.

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

    (@t-p)

    First off, check if all your plugins/themes are up to date.

    Thread Starter Robert Frost

    (@frostr425)

    They are all up to date but should that even matter if I deactivated them and the problem still persists?

    Moderator t-p

    (@t-p)

    Have you tried:

    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you can’t get into your admin dashboard, try resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.
    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong.

    Thread Starter Robert Frost

    (@frostr425)

    Switching themes didn’t even cross my mind. I went to twentyfifteen and it was fine. I also switched to the parent theme and it’s fine as well. I’ll work on clearing those caches and see what happens from there. I’ll update in a bit.

    Moderator t-p

    (@t-p)

    I went to twentyfifteen and it was fine. I also switched to the parent theme and it’s fine as well.

    This indicates your current theme-specific issue.

    Thread Starter Robert Frost

    (@frostr425)

    So it’s definitely theme related, however, it’s limited to just this site within my network. I flushed the cache on my pc and on the server (Windows environment, host our own stuff, IIS)

    I created a new site and added a few pages and a few posts and the new site is working just fine. Any thoughts? Would there be anything in the database tables I could look at that would clue me in to the issue?

    -EDIT-I also just cloned the problem site to a new url and the problem follows. There has to be something in the tables that will show me where the pages are pulling the post information from?

    Thread Starter Robert Frost

    (@frostr425)

    Figured it out. Using a child theme of Soliloquy Pro from Nimbus Themes. Putting the sidebar widgets in a custom layout on my homepage doesn’t mix well with the Soliloquy Pro Popular Posts widget. It was overriding all the pages with the posts template when it was active.

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Every page is displaying posts’ is closed to new replies.