• Resolved jamesalton

    (@brettalton)


    I downloaded a CMS theme from here: https://www.bos89.nl/new-wordpress-cms-theme/ , specifically https://www.bos89.nl/wp-content/downloads/cms2.zip , unzipped it and places it in wp-content/themes/.

    It is contained in its own folder called CMS2 (you have to fix this because it unzips as cms2/CMS2/ in Ubuntu) and I have no other themes in the folder.

    When I access wp-admin/themes.php, I get this error:

    Fatal error: Call to a member function read() on a non-object in …/wp-includes/theme.php on line 387

    I contacted the theme author, but I’d like to know what went wrong or at least where to look to begin to fix it in case this happens again because I don’t see a verbose error log for WordPress anywhere (e.g. stacktrace, etc.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jamesalton

    (@brettalton)

    This occured in WordPress 2.8.3, the latest thus far.

    when you uploaded the theme did you just upload the cms2/ folder? don’t upload cms2/CMS2/ …

    Try uploading via ftp to see if your problem goes away. make sure the permissions on the cms2 dir are correct

    Thread Starter jamesalton

    (@brettalton)

    Ya, I already said I did that.

    Turns out the problem was just with permissions…

    chmod +r -R wp-content/

    seemed to work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme breaks themes.php — how do I fix?’ is closed to new replies.