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

PHP User deprecated function (16384): Use Toolbox::stripTags() #317

Open
tech62 opened this issue May 20, 2022 · 0 comments
Open

PHP User deprecated function (16384): Use Toolbox::stripTags() #317

tech62 opened this issue May 20, 2022 · 0 comments

Comments

@tech62
Copy link

tech62 commented May 20, 2022

Hello, little problem with the order plugin, when i click on generate file :

PHP User deprecated function (16384): Use Toolbox::stripTags(), Glpi\RichText\RichText::getSafeHtml(), Glpi\RichText\RichText::getEnhancedHtml() or Glpi\RichText\RichText::getTextFromHtml(). in /var/www/glpi/src/Toolbox.php at line 543
Uncaught Exception Error: Call to undefined method DB::fetch_array() in /var/www/glpi/files/_plugins/order/generate/custom.php at line 111

Line 111 in custom.php
while ($data=$DB->fetch_array($result))

Version : PHP 7.4 - Glpi 10.0.0 and order (last release)

Any idea to solve the problem ?
Thanks !

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

1 participant