Menu

Topic-icon PHP Deprecated: Invalid characters passed for attempted conversion

  • ehostsolution
  • ehostsolution's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 months 2 weeks ago - 10 months 2 weeks ago #8330 by ehostsolution
Line 114 is causing large error_log files. Do you know how to correct this for PHP 7.4

$string .= chr(hexdec($hex[$i].$hex[$i+1]));

[12-Dec-2020 21:26:46 UTC] PHP Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /plugins/system/securitycheck/securitycheck.php on line 114
Last edit: 10 months 2 weeks ago by Jose. Reason: Avoid path disclosure

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #8331 by Jose
Hi ehostsolution,

Yes, you're right. Despite I did ton of tests to adapt the extension to PHP 7.4 (and now to PHP 8) I didn't get the alert because my environment was not configured to show DEPRECATION notices. If do you have that setting in your live site I think you should change it to avoid tons of extra logs.

Anyway I have modified the plugin to avoid this message in a a future. I attach you a modified version; just download and uncompress the file and overwrite the file located into /plugins/system/securitycheck folder.

Regards,
Jose
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum

Login or Sign In