PDFMerger icon indicating copy to clipboard operation
PDFMerger copied to clipboard

Function get_magic_quotes_runtime() is deprecated

Open saulmamani opened this issue 5 years ago • 6 comments

ErrorException Function get_magic_quotes_runtime() is deprecated

in Lavavel 7 and php 7.4

saulmamani avatar Apr 27 '20 06:04 saulmamani

Same error on Laravel 5.8 and PHP 7.4 When this will be fixed?

Hi @saulmamani ,

Did you find another PDF merger pachage for PHP 7.4?

Thanks in advance

crisleiria avatar Jun 17 '20 15:06 crisleiria

Any word on this issue? I have the same error in Laravel 6 on PHP 7.4.8 and need to know how to fix it. Thanks in advance.

hondaman900 avatar Jan 18 '21 23:01 hondaman900

Hi @hondaman900 ,

This package is not maintained anymore... I have used another one: https://github.com/daltcore/lara-pdf-merger

Hope it helps

crisleiria avatar Jan 19 '21 09:01 crisleiria

I forked this because of this issue. https://github.com/marcshake/PDFMerger

marcshake avatar Jan 20 '21 09:01 marcshake

Thank you for the replies. I downgraded my dev system to PHP 7.3 to get past this for the moment and not hold up the project, but to move forward, is the solution as simple as upgrading PDFMerger?

hondaman900 avatar Jan 20 '21 17:01 hondaman900

I used my fork in my project by modifying my composer.json. My solution works in PHP7.4 Just add this: "repositories": [ { "type": "vcs", "url": "https://github.com/marcshake/PDFMerger" } ], And replace "rguedes/pdfmerger": "^1.0", with

"rguedes/pdfmerger": "dev-master as 1.0",

marcshake avatar Jan 20 '21 17:01 marcshake