troubleshooting Question

PHP can not redeclare class name

Avatar of Robert Granlund
Robert GranlundFlag for United States of America asked on
CSSPHPLaravel
1 Comment1 Solution13 ViewsLast Modified:

Class already declared.  I am working locally on a site, it uses Laravel.  There is a plugin that compiles the LESS file via php and saves it to the css file.  However, it is throwing an error and says I cant re-declare a class name.  I have looked and all of the instances that calls the file (Less.php) are all require_once "Less.php"  I am stuck and am not sure where to look.

ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros