WordPress.org

Ready to get started?Download WordPress

Forums

Error Message when in presentation/theme/theme editor (4 posts)

  1. Skibop
    Member
    Posted 8 years ago #

    When logged is as admin and trying to access presentation tab with themes and theme editor I get the following error message :
    Fatal error: Call to a member function on a non-object in /home/content/S/k/i/Skibop/html/wordpress/wp-includes/functions.php on line 1491

    Line 1491 in the functions config is :
    while(($theme_file = $stylish_dir->read()) !== false) {

    Not too sure what I did here...tried to add a plugin and all hell broke loose. Removed the plugin, but it has not corrected the problem. I am using the firefox theme.
    Any thoughts ?

  2. MichaelH
    Member
    Posted 8 years ago #

  3. Skibop
    Member
    Posted 8 years ago #

    Initially I had searched that error message within the support forums here. I have looked at the fixes applied and then examined my install for any errors. I saw no permissions issues, I even changed the wp-content directory permissiona to 777 as someone suggested. Seems this is a very common issue. I have re-uploaded themes, templates ensuring the permsissions are set correctly.
    Currently the site is reverting to the default style I believe, although I still can't access the presentation tab. I re-uploaded functions.php a few times, but now I'm just wasting bandwidth. I'm almost to the point of flushing the entire site and going with something a little more stable. This hasn't been running a month and already the application is corrupted is some manner.

  4. Skibop
    Member
    Posted 8 years ago #

    As an update to this issue, I did manage a workaround of sorts. I reasoned that the issue I was having was with the application as opposed to the theme. So I replaced the contents of the default theme with the contents of my theme directory (firefox). Although I still lack the ability to use the presentation tab in the admin screens.
    Any other thoughts as to what I should be looking at ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.