Siglo99 Posted April 14, 2016 Share Posted April 14, 2016 Hello Iprint, Delivery Slips error,I should be how to exclude this error?? 1. Fatal error: Call to undefined method HTMLTemplateDeliverySlip :: getPagination () in /home/mayorist/public_html/classes/pdf/PDF.php on line 95 2. Unknown error on line 90 in file /home/mayorist/public_html/override/classes/Media.php [2048] Declaration of Media::cccCss() should be compatible with MediaCore::cccCss($css_files, $cache_path = NULL) Thank you for giving me advice 1 Link to comment Share on other sites More sharing options...
shokinro Posted April 15, 2016 Share Posted April 15, 2016 1. Fatal error: Call to undefined method HTMLTemplateDeliverySlip :: getPagination () in /home/mayorist/public_html/classes/pdf/PDF.php on line 95 It seems that you are using latest version of 1.6.1.5, this is a new method call since this version. it works for Invoice but not work other template. because this getPagination() is not defined in other templates. I guess it is a bug of the new version? 2. Unknown error on line 90 in file /home/mayorist/public_html/override/classes/Media.php [2048] Declaration of Media::cccCss() should be compatible with MediaCore::cccCss($css_files, $cache_path = NULL) The method parameters in your override class does not match the core class method. they must be matched. You can just copy the method signature from core class and paste to override class should fix the error. 1 Link to comment Share on other sites More sharing options...
LavoroInSicurezza Posted April 15, 2016 Share Posted April 15, 2016 Hello I have the same problem too I updated Prestashop From 1.6.1.4 to 1.6.1.5 and.... Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in /home/lwlavoro/public_html/classes/pdf/PDF.php on line 95 Please Help me! Link to comment Share on other sites More sharing options...
tuk66 Posted April 15, 2016 Share Posted April 15, 2016 Try to use all 1.6.1.4 files in the /classes/pdf and /pdf directories. 1 Link to comment Share on other sites More sharing options...
LavoroInSicurezza Posted April 15, 2016 Share Posted April 15, 2016 Hello M4 Many thanks for your support! I changed all files as you suggested, and it works. Thanks again !!! Link to comment Share on other sites More sharing options...
shokinro Posted April 15, 2016 Share Posted April 15, 2016 I suggest you report this as bug to http://forge.prestashop.com/?utm_source=back-office&utm_medium=footer&utm_campaign=back-office-EN&utm_content=download Link to comment Share on other sites More sharing options...
LavoroInSicurezza Posted April 15, 2016 Share Posted April 15, 2016 Dear Shokinro As you have suggested, I reported this error on prestashop bug rackr platform Thanks and best regards Link to comment Share on other sites More sharing options...
shokinro Posted April 16, 2016 Share Posted April 16, 2016 sounds good, hope that can be fixed as soon as possible. this is also one example, it does not mean latest version if always good, you have to test that first before upgrade your store to new version. Link to comment Share on other sites More sharing options...
kamranitsolution Posted June 4, 2016 Share Posted June 4, 2016 It Worked For Me Thanks Hello M4 Many thanks for your support! I changed all files as you suggested, and it works. Thanks again !!! Link to comment Share on other sites More sharing options...
s3rgio Posted June 9, 2016 Share Posted June 9, 2016 (edited) Fix is available: https://github.com/PrestaShop/PrestaShop/pull/5411 EDIT: Forget it, I just noticed there is a "Files changed" link. Edited June 9, 2016 by s3rgio (see edit history) 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