An error message is displayed :
The query does not contain the correct number of placeholders (1) for the number of arguments passed (2). This message was added in version 4.8.3.
Problem: I am using Wordpress 4.3.22 .
Anybody has an explanation?
NB: that message is coming from wpdb::prepare
.
An error message is displayed :
The query does not contain the correct number of placeholders (1) for the number of arguments passed (2). This message was added in version 4.8.3.
Problem: I am using Wordpress 4.3.22 .
Anybody has an explanation?
NB: that message is coming from wpdb::prepare
.
1 Answer
Reset to default 0Well, this is some hasty copy/paste mistake in WP code while backporting features/bugfixes to older versions. Checked 4.3.22 code - it indeed contains version number 4.8.3 attached to this error message.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744733065a4590577.html
wpdb::prepare
. It's strictly hard-written "4.8.3" in the 4.3.22 version ofwp-db.php
. – theredled Commented Feb 19, 2020 at 19:06