امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I'm trying to delete a row:
Code:
And I'm calling it in another method like this:
Code:
But I'm getting this error:
Code:
It keeps pointing to this line:
Code:
The...
Read more
Code:
کد:
private static function deletePending($table, $upload_id) {
$db = \XF::db();
$rowsDeleted = $db->delete($table, [
'upload_id' => $upload_id
]);
}
And I'm calling it in another method like this:
Code:
self::deletePending('xf_ill_bfights_uploads', $row['upload_id']);But I'm getting this error:
Code:
ErrorException: [E_WARNING] Array to string conversionIt keeps pointing to this line:
Code:
'upload_id' => $upload_idThe...
Read more
