Tagged: PHP 7.1
- This topic has 7 replies, 5 voices, and was last updated 2 years, 8 months ago by
Vineet Talwar.
-
AuthorPosts
-
-
December 14, 2016 at 4:27 pm #7654
bubdevMemberHi,
with PHP 7.1 I get the following error message on most (not all) top level plugin settings pages:
‘Warning: A non-numeric value encountered in […]/wp-content/plugins/piklist/includes/class-piklist.php on line 2029’
It happens with the following plugins for instance: ‘All in One WP Security’, ‘Duplicator’, ‘Google Analytics Dashboard’.
On another plugin’s settings page (‘Easy Google Fonts’) the following error messages come up:
Warning: Parameter 2 to Piklist_WordPress::where() expected to be a reference, value given in […]/wp-includes/class-wp-hook.php on line 298
Warning: Parameter 2 to Piklist_WordPress::orderby() expected to be a reference, value given in […]/wp-includes/class-wp-hook.php on line 298
Warning: Parameter 2 to Piklist_WordPress::distinct() expected to be a reference, value given in […]/wp-includes/class-wp-hook.php on line 298
Everything seems to work normally, though. I get none of these messages with PHP 7.0.
Best – Stefan
-
December 16, 2016 at 12:08 pm #7666
-
December 16, 2016 at 2:33 pm #7667
bubdevMemberHi Jason,
I’m using the latest version: 0.9.9.9
-
December 16, 2016 at 3:07 pm #7668
JasonKeymasterGot it. Thanks! I haven’t tested on PHP 7.1 yet, but I will.
-
February 16, 2017 at 11:42 am #7792
guaycuruParticipantHi, is there any updates on this? I’m currently using PHP 7.1 and receiving the errors mentioned above.
-
March 17, 2017 at 3:14 pm #7847
rstovallParticipant+1 Receiving errors also
-
March 24, 2017 at 6:52 pm #7857
JasonKeymasterHey guys!
Sorry for the long delay. I volunteer contribute and work has been very busy for me. Fortunately these warnings should not actually cause any real bugs and I’m assuming you don’t have WP_DEBUG_DISPLAY true on production.
I’ve fixed the non-numeric error, but I can’t reproduce the Piklist_WordPress::where() warning that @bubdev reported. I installed the plugin you mentioned but I’m not seeing anything. I am looking from the version that is going to be released next week, so it’s possible the problem was resolved in another patch.
As you can see in this other thread, a new version will be out next week which includes a number of fixes including this one. Please test it out and let us know if you find any other PHP 7.x related issues!
Happy coding!
-
June 12, 2019 at 11:11 am #9408
Vineet TalwarMemberHi, this error still appears for me in 2019 as well.
running the latest version of piklist (1.0.3) as well.
-
-
AuthorPosts
- You must be logged in to reply to this topic.