Siglo99 Posted June 14, 2016 Share Posted June 14, 2016 (edited) Hi Will the following error code,How to repair,has been used for a week, unable to debug Please help me, thank you PHP Strict Standards: Declaration of Media::cccCss() should be compatible with MediaCore::cccCss($css_files, $cache_path = NULL) in /home/xxxxx/public_html/override/classes/Media.php on line 90 Edited June 14, 2016 by Siglo99 (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted June 14, 2016 Share Posted June 14, 2016 It seems override/classes/Media.php is not overriding the Media::cccCss() function correctly. Make sure it is overriding like the following: public static function cccCss($css_files, $cache_path = null) Also, make sure that any calls to the parent function include all the parameters like this: parent::cccCss($css_files, $cache_path); Link to comment Share on other sites More sharing options...
Siglo99 Posted June 14, 2016 Author Share Posted June 14, 2016 Hi rocky Thank you very much ^ _ ^ The problem is solved Thank you Link to comment Share on other sites More sharing options...
rocky Posted June 14, 2016 Share Posted June 14, 2016 I'm happy it worked for you. Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now