Jump to content


Photo
- - - - -

Can't get into WP wp-admin Pagelines theme issue


  • Please log in to reply
9 replies to this topic

#1 renderinnovations

renderinnovations

    Super Member

  • Members


  • 142 posts
  • LocationHarrisburg, PA
  • Country: Country Flag

Posted 01 March 2014 - 11:01 PM

Hi,

I just get this error:  Call to a member function process_styles() on a non-object in /home/stoneybr/public_html/wp-content/themes/dms/includes/init.editor.php on line 166

 

For 

Please Login or Register to see this Hidden Content

 when I try to get to wp-admin.  What is this?  I was about to launch a site for a client, until all of a sudden this came up.


AB



#2 renderinnovations

renderinnovations

    Super Member

  • Members


  • 142 posts
  • LocationHarrisburg, PA
  • Country: Country Flag

Posted 01 March 2014 - 11:13 PM

I think I figured it out.  The line 166 was this:

 

$this->handler->process_styles();

 

So I just deleted it to see if it would gain me access to the backend of the website.  Which it did, and the theme still functions properly.  Not sure if this is a permanent fix?



#3 Danny

Danny

    Is Awesome!

  • Moderators
  • 16313 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 02 March 2014 - 11:58 AM

HI,

 

I haven't ran into this error before, but removing that code isn't the answer. Its likely your issue was related to a plugin you installed/using.

 

Also please beware that by removing code from the core files, you do void all support.



#4 renderinnovations

renderinnovations

    Super Member

  • Members


  • 142 posts
  • LocationHarrisburg, PA
  • Country: Country Flag

Posted 02 March 2014 - 02:57 PM

I readded the code, and it works now.  I haven't added any new plugins and for a while it was working, until all of a sudden, this happened.

AB



#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 16313 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 02 March 2014 - 04:30 PM

OK, I will bookmark your topic and speak to one of our developers and see if they can identify any issue.



#6 shillos

shillos

    Member

  • Members

  • 10 posts
  • LocationLarnaca
  • Framework Version:DMS v.2.0
  • Country: Country Flag

Posted 14 March 2014 - 01:28 AM

same problem here ... Fatal error: Call to a member function process_styles() on a non-object in /home4/shillos/public_html/wp-content/themes/dms/includes/init.editor.php on line 166



#7 shillos

shillos

    Member

  • Members

  • 10 posts
  • LocationLarnaca
  • Framework Version:DMS v.2.0
  • Country: Country Flag

Posted 14 March 2014 - 01:29 AM

My problem just started after i logged out and back in again!



#8 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 14 March 2014 - 01:34 AM

Hi there, what were you doing on the site just before this happened? Updating any code/plugins etc. Do you have a url for the site we can look at



#9 shillos

shillos

    Member

  • Members

  • 10 posts
  • LocationLarnaca
  • Framework Version:DMS v.2.0
  • Country: Country Flag

Posted 14 March 2014 - 01:43 AM

I did the same by re-adding the $this->handler->process_styles(); from that line. First removed it in my ftp edit file and then reloaded the site then just logged in again and then removed login radius that i might think this was the problem, then just re added the code back and worked ok!



#10 Danny

Danny

    Is Awesome!

  • Moderators
  • 16313 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 14 March 2014 - 09:23 AM

@

Please Login or Register to see this Hidden Content

- I recommend you disable all active plugins and see if this resolves your issue. As on my vanilla installation, I have not once encountered this error.