• I run two WordPress sites. I have recently changed Linux distro to
    Ubuntu. I keep copies of both sites on my laptop, for backup and to be
    able to try things out before they go live. The local copy of one of
    the two sites is up under the new OS and working just fine. The other
    is not, although I used exactly the analogous steps in setting it up.
    As this is a private copy it is not accessible by a public URL but I
    could make screenshots if that would help diagnosis. The public
    version is [ redundant link removed ]

    I can login to the local copy as the administrator, and read pages etc
    in the dashboard. I can also look at the pages with the Visual tab of the
    classic editor and it all looks OK. However, I cannot get a sensible
    View of a page on screen, just something that has, for the home page,
    a single rather neat horizontal bar. Any idea as to where the problem
    lies would be welcome.

    • This topic was modified 4 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In the browser console, what errors and warnings do you see?

    use the Chrome Developer Tools or Firefox Developer Tools.

    Thread Starter mahmacc

    (@mahmacc)

    Assuming you mean the WordPress administrator dashboard, there
    are no errors or warnings to be seen.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Can you give me a screenshot of what you see?

    Thread Starter mahmacc

    (@mahmacc)

    I have uploaded screenshots from my private copy to the public version of the website. Screenshot A shows the (top part of the) dashboard once I have logged in, while
    Screenshot B shows what the home page looks like.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Enable debugging.

    Thread Starter mahmacc

    (@mahmacc)

    I had run with debugging on before I sent the initial query, and I had deleted offending plugins before trying a second time. I have just tried again with debugging on and writing to a log. Almost all the messages (8 of 9) in debug.log concern deprecated constructor methods. The exception is

    [11-Jan-2020 08:11:41 UTC] PHP Notice: Undefined property: EasyColumns::$use_custom in /var/www/html/Choir/wp-content/plugins/easy-columns/easy-columns.php on line 233

    Of the deprecated constructor messages, 4 concern wp-includes/functions.php, part of WordPress itself, e.g.

    [11-Jan-2020 08:11:40 UTC] PHP Notice: The called constructor method for WP_Widget in VMenuWidget is deprecated since version 4.3.0! Use

    __construct()

    instead. in /var/www/html/Choir/wp-includes/functions.php on line 4716

    The other 4 (one from easy-columns and 3 from our custom theme) say the methods “will not be constructors in a future version of PHP”

    It’s not obvious that any of these is causing the problem. Removing easy-columns did not fix the problem.

    Thread Starter mahmacc

    (@mahmacc)

    I am still baffled by this and do not know where to look further. I
    am not aware of any difference between the ways the two websites’ local copies have been set up, but one works and the other does not.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with local copy’ is closed to new replies.