{"id":1329,"date":"2016-07-01T00:19:50","date_gmt":"2016-06-30T21:19:50","guid":{"rendered":"http:\/\/sahinsolmaz.com\/blog\/?p=1329"},"modified":"2016-07-01T00:19:50","modified_gmt":"2016-06-30T21:19:50","slug":"prestashop-fatal-error-call-to-undefined-method-htmltemplatedeliveryslipgetpagination-in-classespdfpdf-php-on-line-95","status":"publish","type":"post","link":"https:\/\/sahinsolmaz.com\/blog\/prestashop-fatal-error-call-to-undefined-method-htmltemplatedeliveryslipgetpagination-in-classespdfpdf-php-on-line-95\/","title":{"rendered":"Prestashop  Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in \/classes\/pdf\/PDF.php on line 95"},"content":{"rendered":"<p>Merhabalar,<\/p>\n<p>Birka\u00e7 g\u00fcn \u00f6nce Prestashop global forumdan bir arkada\u015f\u0131n ya\u015fam\u0131\u015f oldu\u011fu:<\/p>\n<blockquote><p><b>Fatal error<\/b>: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in <b>classes\/pdf\/PDF.php<\/b> on line <b>95<\/b><\/p><\/blockquote>\n<p>sorunu ile ilgili olarak pratik bir \u00e7\u00f6z\u00fcm\u00fc sizlerle payla\u015fmak istiyorum. \u015eikayet konusu \u015fuydu: &#8220;<em>kap\u0131da \u00f6deme methodu ile al\u0131\u015fveri\u015f yap\u0131ld\u0131\u011f\u0131nda beyaz sayfa ile kar\u015f\u0131la\u015f\u0131yorum.<\/em>&#8221;<\/p>\n<p>Asl\u0131nda bildi\u011finiz \u00fczere, beyaz sayfa hatas\u0131, gizlenen hatadan dolay\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar. Yani beyaz sayfa hatas\u0131 yoktur, gizlenen hata vard\u0131r. (:<\/p>\n<blockquote><p>Solution is down the page for English.<\/p><\/blockquote>\n<p><!--more--><\/p>\n<p>Hata g\u00f6sterim modunu a\u00e7\u0131p bakt\u0131\u011f\u0131m\u0131zda asl\u0131nda Prestashop hatas\u0131n\u0131n;<\/p>\n<p><em><strong>Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in classes\/pdf\/PDF.php on line 95<\/strong><\/em><\/p>\n<p>oldu\u011funu g\u00f6rd\u00fck. PDF s\u0131n\u0131f\u0131nda tan\u0131ms\u0131z method kullan\u0131m\u0131 hatas\u0131n\u0131 birazc\u0131k ara\u015ft\u0131r\u0131nca bunun asl\u0131nda bir BUG oldu\u011funu, nedeninin de versiyon uyumsuzlu\u011fundan kaynakland\u0131\u011f\u0131n\u0131 fark ettim. Asl\u0131nda yine global forumda lakin \u0130ngilizce b\u00f6l\u00fcm\u00fcnde payla\u015f\u0131lm\u0131\u015f bu yan\u0131t.<\/p>\n<p style=\"padding-left: 30px;\">Hatan\u0131n kar\u015f\u0131la\u015f\u0131ld\u0131\u011f\u0131 Prestashop versiyonu: 1.6.1.5<\/p>\n<p style=\"padding-left: 30px;\">De\u011fi\u015ftirilecek s\u0131n\u0131f klas\u00f6r\u00fc: \/classes\/<strong>pdf<\/strong><\/p>\n<p style=\"padding-left: 30px;\">Kaynak Prestashop versiyonu: 1.6.1.4<\/p>\n<p>\u00d6zetle: 1.6.1.4 versiyonunu <a href=\"https:\/\/www.prestashop.com\/en\/developers-versions#previous-version\" target=\"_blank\">buradan<\/a> indirin, classes\/pdf klas\u00f6r\u00fcn\u00fc sizinkisiyle g\u00fcncelleyin, sorun \u00e7\u00f6z\u00fclm\u00fc\u015f olacakt\u0131r.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>SOLUTION FOR ENGLISH:<\/strong><\/span><\/p>\n<p>Hello,<\/p>\n<p>This error (<em><strong>Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in classes\/pdf\/PDF.php on line 95<\/strong><\/em>) is a BUG.<\/p>\n<p>Summary, your Prestashop version is 1.6.1.5. You should replace classes\/pdf folder with previous version. (1.6.1.4)<\/p>\n<ol>\n<li>Download 1.6.1.4 from <a href=\"https:\/\/www.prestashop.com\/en\/developers-versions#previous-version\" target=\"_blank\">here<\/a>.<\/li>\n<li>delete your classes\/pdf folder and upload 1.6.1.4\/classes\/pdf folder.<\/li>\n<\/ol>\n<p><span id=\"result_box\" class=\"short_text\" lang=\"en\">At the end, the problem <span class=\"\">will be solved<\/span>..<\/span><\/p>\n<p>Good works!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Merhabalar, Birka\u00e7 g\u00fcn \u00f6nce Prestashop global forumdan bir arkada\u015f\u0131n ya\u015fam\u0131\u015f oldu\u011fu: Fatal error: Call to undefined method HTMLTemplateDeliverySlip::getPagination() in classes\/pdf\/PDF.php on line 95 sorunu ile ilgili olarak pratik bir \u00e7\u00f6z\u00fcm\u00fc sizlerle payla\u015fmak istiyorum. \u015eikayet konusu \u015fuydu: &#8220;kap\u0131da \u00f6deme methodu ile al\u0131\u015fveri\u015f yap\u0131ld\u0131\u011f\u0131nda beyaz sayfa ile kar\u015f\u0131la\u015f\u0131yorum.&#8221; Asl\u0131nda bildi\u011finiz \u00fczere, beyaz sayfa hatas\u0131, gizlenen hatadan dolay\u0131 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[1,21],"tags":[639,638],"class_list":["post-1329","post","type-post","status-publish","format-standard","hentry","category-genel","category-prestashop-e-ticaret","tag-call-to-undefined-method-htmltemplatedeliveryslipgetpagination-in-classespdfpdf-php-on-line-95","tag-prestashop-fatal-error-call-to-undefined-method-htmltemplatedeliveryslipgetpagination-in-classespdfpdf-php-on-line-95"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4sbm9-lr","jetpack-related-posts":[{"id":1111,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-fatal-error-call-to-undefined-method-toolssafedefine-in\/","url_meta":{"origin":1329,"position":0},"title":"PRESTASHOP Fatal error: Call to undefined method Tools::safeDefine() in","author":"SahinSOLMAZ","date":"22 A\u011fustos 2015","format":false,"excerpt":"Merhabalar, Yine basit bir Prestashop hatas\u0131 ile kar\u015f\u0131 kar\u015f\u0131yay\u0131z ve hemen kar\u015f\u0131la\u015ft\u0131\u011f\u0131m\u0131z hatay\u0131, nedenini ve \u00e7\u00f6z\u00fcm\u00fcn\u00fc payla\u015fal\u0131m. PRESTASHOP HATA: PRESTASHOP ERROR: PRESTASHOP Fatal error: Call to undefined method Tools::safeDefine() in .. Bu hata ile kar\u015f\u0131la\u015f\u0131yorsan\u0131z e\u011fer, Prestashop (\u015fu anki g\u00fcncel versiyon: 1.6.1.0) g\u00fcncel versiyonlardan birisini kullan\u0131yorsunuz ve g\u00fcncelle\u015ftirme yaparak bu\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1069,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-fatal-error-class-smarty_internal_smartytemplatecompiler-not-found-in\/","url_meta":{"origin":1329,"position":1},"title":"Prestashop Fatal error: Class &#8216;Smarty_Internal_SmartyTemplateCompiler&#8217; not found in","author":"SahinSOLMAZ","date":"7 Eyl\u00fcl 2015","format":false,"excerpt":"Merhabalar, Prestashop s\u00fcr\u00fcm g\u00fcncelle\u015ftirmesi yapt\u0131ktan sonra a\u015fa\u011f\u0131daki hata ile kar\u015f\u0131la\u015fabilirsiniz. When you upgrade Prestashop version, you may encounter the following error. Fatal error: Class 'Smarty_Internal_SmartyTemplateCompiler' not found in .. tools\/smarty\/sysplugins\/smarty_internal_template.php\u00a0on line 713 \u00a0 \u00c7\u00f6z\u00fcm olduk\u00e7a basit lakin g\u00fcncel s\u00fcr\u00fcmde LC_CTYPE hatas\u0131 bu \u015fekilde \u00e7\u0131kt\u0131\u011f\u0131 i\u00e7in forumlarda \u00e7\u00f6z\u00fcme ula\u015fman\u0131z biraz zor\u2026","rel":"","context":"&quot;Genel&quot; i\u00e7inde","block_context":{"text":"Genel","link":"https:\/\/sahinsolmaz.com\/blog\/category\/genel\/"},"img":{"alt_text":"Prestashop Logo","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/09\/ps_logo_share_prestashop-621x309.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/09\/ps_logo_share_prestashop-621x309.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/09\/ps_logo_share_prestashop-621x309.png?resize=525%2C300 1.5x"},"classes":[]},{"id":334,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-admin-nginx-502-bad-gateway-solved-hatasi-ve-cozumu\/","url_meta":{"origin":1329,"position":2},"title":"Prestashop Admin Nginx (502 Bad Gateway) Solved Hatas\u0131 ve \u00c7\u00f6z\u00fcm\u00fc","author":"SahinSOLMAZ","date":"11 Mart 2014","format":false,"excerpt":"\u00a0G\u00fcncel \u00e7\u00f6z\u00fcm i\u00e7in: http:\/\/sahinsolmaz.com\/blog\/solved-nginx-502-bad-gateway-error-hatasi-ve-cozumu\/ New solve: http:\/\/sahinsolmaz.com\/blog\/solved-nginx-502-bad-gateway-error-hatasi-ve-cozumu\/ \u00a0 Merhaba Arkada\u015flar, Prestashop y\u00f6netim paneline giri\u015f yapmay\u0131 denerken bir g\u00fcn \u015f\u00f6yle bir hata ile kar\u015f\u0131\u015fa\u015f\u0131rsan\u0131z,\u00a0Prestashop Admin Nginx (502 Bad Gataway)\u00a0a\u015fa\u011f\u0131da anlataca\u011f\u0131m basit \u00e7\u00f6z\u00fcm i\u015finize yarayacakt\u0131r. * Sunucu y\u00f6netim panelini (\u00f6rn: Plesk Panel \u2018i) a\u00e7\u0131n,* Ara\u00e7lar ve Se\u00e7eneler (Tools & Settings) sayfas\u0131n\u0131 a\u00e7\u0131n,\u2026","rel":"","context":"&quot;E-Ticaret&quot; i\u00e7inde","block_context":{"text":"E-Ticaret","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/"},"img":{"alt_text":"Prestashop-Admin-Nginx-502-Bad-Gateway-Solved-Hatasi-ve-C\u00f6zumu","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/03\/Prestashop-Admin-Nginx-502-Bad-Gateway-Solved-Hatasi-ve-C%C3%B6zumu-300x168.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":911,"url":"https:\/\/sahinsolmaz.com\/blog\/solvedprestashop-admin-502-bad-gateway-hatasi-nasil-cozulur\/","url_meta":{"origin":1329,"position":3},"title":"Solved\/Prestashop Admin 502 Bad Gateway Hatas\u0131 Nas\u0131l \u00c7\u00f6z\u00fcl\u00fcr","author":"SahinSOLMAZ","date":"21 \u015eubat 2015","format":false,"excerpt":"Merhabalar, Bu sorunun kesin \u00e7\u00f6z\u00fcm\u00fc i\u00e7in l\u00fctfen buray\u0131 inceleyiniz! exact solution, for it is error: click here! --------------------------------------------- \u00a0 Prestashop geli\u015fmi\u015f, a\u00e7\u0131k kaynak e-ticaret yaz\u0131l\u0131mlar\u0131 aras\u0131nda en pop\u00fcler paketlerden birisidir. Bir \u00e7ok geli\u015ftiricisinin olmas\u0131na ra\u011fmen bazen can s\u0131k\u0131c\u0131 durumlarla kar\u015f\u0131 kar\u015f\u0131ya kalabilmekteyiz. \u00d6rne\u011fin: Prestashop Admin 502 Bad Gateway hatas\u0131 bunlardan\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"Prestashop-Admin-502-Bad-Gateway-Hatasi-ve-C\u00f6zumu-Error-Solve-SolvedPrestashop Admin 502 Bad Gateway Hatas\u0131 Nas\u0131l \u00c7\u00f6z\u00fcl\u00fcr","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/02\/Prestashop-Admin-502-Bad-Gateway-Hatasi-ve-C%C3%B6zumu-Error-Solve-SolvedPrestashop-Admin-502-Bad-Gateway-Hatas%C4%B1-Nas%C4%B1l-%C3%87%C3%B6z%C3%BCl%C3%BCr.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":907,"url":"https:\/\/sahinsolmaz.com\/blog\/solvedcozuldu-prestashop-maximum-upload-file-error\/","url_meta":{"origin":1329,"position":4},"title":"Solved\/\u00c7\u00f6z\u00fcld\u00fc &#8211; Prestashop maximum upload file Error","author":"SahinSOLMAZ","date":"3 Nisan 2015","format":false,"excerpt":"Prestashop The limit choosen is superior to the server's maximum upload file You need to improve the limit of your server. Ba\u015fl\u0131kta Prestashop yazsa da\u00a0 \"maximum upload file You need to improve the limit of your server.\"\u00a0 hatas\u0131 genel bir hata (hatay\u0131 veren sistem Prestashop) ve pratik bir \u00e7\u00f6z\u00fcm i\u00e7in;\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1034,"url":"https:\/\/sahinsolmaz.com\/blog\/prestashop-tcpdf-error-image-unable-to-get-image-imgtmpproduct_mini_-solved\/","url_meta":{"origin":1329,"position":5},"title":"PRESTASHOP TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_ SOLVED","author":"SahinSOLMAZ","date":"16 Temmuz 2015","format":false,"excerpt":"Herkese Merhabalar, Uzun bir aradan sonra Prestashop i\u00e7in g\u00fcncel bir bug\/hatan\u0131n (TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_) \u00e7\u00f6z\u00fcm\u00fcn\u00fc h\u0131zl\u0131ca payla\u015faca\u011f\u0131m. TCPDF ERROR: [Image] Unable to get image: \u00c7\u00d6Z\u00dcM\u00dc FIX BUG PRESTASHOP TCPDF ERROR: [Image] Unable to get image: \/img\/tmp\/product_mini_ How to fix this? Anadizin\/classes\/pdf\/HTMLTemplateDeliverySlip.php dosyas\u0131n\u0131 a\u00e7\u0131n, Open the\u2026","rel":"","context":"&quot;PrestaShop&quot; i\u00e7inde","block_context":{"text":"PrestaShop","link":"https:\/\/sahinsolmaz.com\/blog\/category\/e-ticaret\/prestashop-e-ticaret\/"},"img":{"alt_text":"prestashop_TCPDF_ERROR_Image_Unable_to_get_image","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/07\/prestashop_TCPDF_ERROR_Image_Unable_to_get_image.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/comments?post=1329"}],"version-history":[{"count":5,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1329\/revisions"}],"predecessor-version":[{"id":1334,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1329\/revisions\/1334"}],"wp:attachment":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/media?parent=1329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/categories?post=1329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/tags?post=1329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}