Jump to content


Photo
- - - - -

PageLines Custom LESS/CSS error.

LESS/CSS error

Best Answer Rob , 28 September 2013 - 08:13 AM

It's always a good idea to check the docs:  http://docs.pageline...ing/parse-error

 

Do you have PageLines Customize plugin activated? Was there a hook added there at some time, in the functions.php file?

 

Have you validated all the CSS or added any javascripts?

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 jeremyalmeda1

jeremyalmeda1

    Newbie

  • Members
  • Pip
  • 9 posts
  • Country: Country Flag

Posted 28 September 2013 - 03:34 AM

Hello. I am getting this error. 

parse error: failed at `add_action( 'pagelines_options_dms_less', array(&$this, 'dms_tools_less') );` line: 1023

 

The front end editor stopped working, I googled and found this code (attached) and pasted into DMS Tools options to "fix the Front-End". But now when I try to remove the code I can't save the page? Hope that makes sense. Thanks in advance for assistance. 

 

 



#2 jeremyalmeda1

jeremyalmeda1

    Newbie

  • Members
  • Pip
  • 9 posts
  • Country: Country Flag

Posted 28 September 2013 - 04:11 AM

***update**** I was able to fix the front end. but still can't save the Pagelines Tools  area. I am getting this error now. 

 

parse error: failed at `add_action( 'pagelines_options_dms_less', array(&$this, 'dms_tools_less') );` line: 1023

 

I guess it's the same error. But the front editor now works. 

 

Thanks 



#3 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 28 September 2013 - 08:13 AM   Best Answer

It's always a good idea to check the docs:  http://docs.pageline...ing/parse-error

 

Do you have PageLines Customize plugin activated? Was there a hook added there at some time, in the functions.php file?

 

Have you validated all the CSS or added any javascripts?



#4 jeremyalmeda1

jeremyalmeda1

    Newbie

  • Members
  • Pip
  • 9 posts
  • Country: Country Flag

Posted 28 September 2013 - 08:19 AM

Thanks for the reply Rob. I just figured it out, well fixed the problem at least. 



#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 September 2013 - 08:37 AM

Fantastic!







Also tagged with one or more of these keywords: LESS/CSS error