• Resolved mugget

    (@mugget)


    Hi,

    Just a strange kind of problem I’ve got here. My site (PostPixel.com.au) was working perfectly yesterday, and then this morning when I try to access any part of WP on it, I got the following error:

    Warning: Invalid argument supplied for foreach() in /home/mugget/public_html/wp-includes/classes.php on line 1535

    I tried to simply replace that file with one from my local hard drive, thinking that if anything had gone awry with the copy on the server, the one on my HD would be clean. But then I got a “Disk quota exceeded” warning, and it said that the file couldn’t be copied, even though the file size was the same on the server as the original. I tried my site again and got this message:

    Parse error: parse error, unexpected $ in /home/mugget/public_html/wp-includes/classes.php on line 1637

    Also when I tried to login to wp-admin (before I deleted the old classes.php and moved the new one there), I didn’t get that same error, but after I’d logged in, I was redirected to a page on a completely different site?!!?

    Also, after the error with classes.php I recieved a couple of “Please Moderate” emails. But these were also strange… the first one had the subject prefix “[] Please moderate:”, when they usually say “[Post Pixel] Please moderate:”.

    And in both of those emails the URL’s were cut short, IE they only had “/wp-admin/moderation.php” instead of the full URL: “https://www.postpixel.com.au/wp-admin/moderation.php”???

    This seems really weird to me, is it possible I’ve been hacked or something? Anyway, I’m backing up my databases now… And thanks for any help in getting this mess sorted out.

    (Sorry for the long post.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mugget

    (@mugget)

    Well my disk quota exceeded warning has been fixed, I re-uploaded the classes.php file, and now I can access the front page, but I get a ‘Not Found’ error when I try to go to any of the post permalinks, such as:
    https://www.postpixel.com.au/2006/05/30/firefox-weeeee/

    I also can’t get to any of the WordPress Pages, I get the same ‘Not Found’ error every time?

    I am able to login to the WP admin now, and I saw that there’s a new version, 2.0.3 out that addresses some security issues – could that have been the cause of all this weirdness? Well I’ll upgrade and see if that helps any… ??

    Thread Starter mugget

    (@mugget)

    well, everything seems like it’s back to normal now after the upgrade to 2.0.3. I’ve changed this question to ‘resolved’ – but I would still be curious about why there was that error in the classes.php file – does it get written to? Would running out of disk space stop that file from being able to be written to? Any why would those emails be messed up? If anyone has any ideas…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP working fine, then sudden error with classes.php?’ is closed to new replies.