Viewing 7 replies - 1 through 7 (of 7 total)
  • I use these plugins too. It broke up my page aswell. I checked my code, and it turned out that my template calls for the sidebar at the beginning of the post instead of at the end. I just put that at the top right after get_header and it worked perfectly. But thats just my own experience. I’ve never tested or used to the theme you have on your page right now.

    I’ve currently got the same problem :-/. I call my sidebar in my header and I just can’t figure out why it continues to break my theme even after I removed the call to the sidebar. Mad no difference.

    It’s mainly breaking due to the theme you’re using. The plugin author probably coded those pages based off of his own theme or the default/classic themes. Just go into those files and change the sidebar/header/footer calls.

    I tried changing the header files, to no avail. All I got when I did that were errors because the plugin author is using require to call the header and on my pages I’m just using get_header.

    I take it out, edit it, whatever and I get this:
    Fatal error: Call to a member function on a non-object in /home/angela/public_html/wp-useronline.php on line 24

    you don’t need to be changing your own header file. Just the wp-useronline or wp-stats.php files.

    I know, thats what I did and all it did was give me that error. I call my sidebar in my header, so any template that calls it again I removed the call for it. My template pages call for the header like this:

    <?php get_header(); ?>

    Where as the plugins start off differently and I’m not savvy enough to know why it’s breaking my template. I’ve also noticed my search template does the same thing :-/.

    Ive tried this, but I don’t get it to work properly ??

    https://blog.bookieboy.co.uk/wp-stats.php
    https://blog.bookieboy.co.uk/wp-useronline.php

    I’m using the RIN TIN TIN theme. Could anyone help me fix this in a step by step way

    Thanks ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wp-useronline and wp-stats breaks theme’ is closed to new replies.