Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function get_magic_quotes_runtime() is deprecated #16

Open
mureithimaina opened this issue Jul 6, 2021 · 2 comments
Open

Function get_magic_quotes_runtime() is deprecated #16

mureithimaina opened this issue Jul 6, 2021 · 2 comments

Comments

@mureithimaina
Copy link

vendor/itbz/fpdf/src/fpdf/FPDF.php:1060

function _dochecks()
{
// Check availability of %F
if(sprintf('%.1F',1.0)!='1.0')
$this->Error('This version of PHP is not supported');
// Check mbstring overloading
if(ini_get('mbstring.func_overload') & 2)
$this->Error('mbstring overloading must be disabled');
// Ensure runtime magic quotes are disabled
if(get_magic_quotes_runtime()) //problematic
@set_magic_quotes_runtime(0);
}

@khanay1981
Copy link

i have the same problem also anyone solved this
thanks

@kveldscholten
Copy link

Same problem with composer installation because it still uses itbz/fpdi 1.6.

Release new version for composer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants