PDA

View Full Version : Cronjob error ?



M. Eikenaar
November 24, 2019, 06:06 PM
Hi,

Since a while, a few months, I got this error message by mail from my every cronjob:


<span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] are required</b><br />line# <font color='green'><b>444</b></font><br />file: <font color='green'><b>/home/mobil/domains/xxxxxxxxx.nl/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.0.33 <br /></span><span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] are required</b><br />line# <font color='green'><b>444</b></font><br />file: <font color='green'><b>/home/mobil/domains/xxxxxxxxx.nl/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.0.33 <br /></span><span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] are required</b><br />line# <font color='green'><b>444</b></font><br />file: <font color='green'><b>/home/mobil/domains/xxxxxxxxx.nl/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.0.33 <br /></span><span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] are required</b><br />line# <font color='green'><b>444</b></font><br />file: <font color='green'><b>/home/mobil/domains/xxxxxxxxx.nl/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.0.33 <br /></span>



(I have mask the original website)

The original email, looks fine:

Cron Job notification at 24.11.2019

Ads expired: 1
Expiration notifications sent: 2
Featured ads expired: 0
Featured expiration notifications sent: 0
Incomplete ads removed: 11
Expired listings waiting removal: 1
Expired listings removed: 4
Total incomplete accounts: 0


Is this error a PHP problem? or is there something else? I am using 7.0

I see no errors at the website, so far I can see, works everything ok.

Someone a solution?

Viktor
November 25, 2019, 04:17 AM
You can send ftp access to my PM and I will check and try to solve the problem.

Jenő Kocsi
February 26, 2020, 05:09 AM
I get a Cron error sometimes, but the cron runs normally.


<span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] are required</b><br />line# <font color='green'><b>444</b></font><br />file: <font color='green'><b>/home/xxxxxx/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.3.9 <br /></span><span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] are required</b><br />line# <font color='green'><b>444</b></font><br />file: <font color='green'><b>/home/xxxxxx/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.3.9 <br /></span>

Errors.log:
26 Feb 12:00:16 | 2 repeats | System error: rlDb::updateOne failed, data['fields'] and data['where'] are required on line# 444 (file: /includes/classes/rlDb.class.php)

Viktor
February 26, 2020, 06:30 AM
Will be better to create a new ticket with the problem.

Jenő Kocsi
February 26, 2020, 06:48 AM
I can't make a ticket because my support has expired.
If you describe what the problem is then I'll fix it.

Viktor
February 27, 2020, 02:33 AM
We solve our bugs without payment support.

Jenő Kocsi
March 7, 2020, 08:41 PM
Even though I wrote to support what's the problem, no one answers it at all. You cannot create a support ticket because the support has expired. If anyone has a solution, please let me know so I can solve this occasional error.

Viktor
March 8, 2020, 11:23 AM
Would you please send ftp access to my PM or in the ticket. I will solve it AS SOON AS POSSIBLE.

Jenő Kocsi
April 7, 2020, 02:07 AM
Ever since you fixed this error, expired ads have not been deleted. You should delete an expired ad after 5 days, but you will not do so.
3643

Viktor
April 7, 2020, 06:49 AM
I have checked your listings into admin panel and I couldn't find these listings.

Jenő Kocsi
April 7, 2020, 10:31 AM
I sent a message.

Jenő Kocsi
August 29, 2020, 06:45 AM
This bug reappeared in 4.8.1 What is the solution?

<span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] - a:1:{s:2:"ID";s:4:"7200";} are required</b><br />line# <font color='green'><b>453</b></font><br />file: <font color='green'><b>/home/*******/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.4.8 <br /></span>

Write the error on this line. It was fixed in 4.8.0, but even if I transfer that fix here, it's not good for that anymore.

trigger_error(__METHOD__ . " failed, data['fields']{$fields} and data['where']{$where} are required", E_USER_ERROR);

Jenő Kocsi
September 28, 2020, 05:38 AM
<span style='font-family: tahoma; font-size: 12px;'><h3>System error occurred</h2> <b>rlDb::updateOne failed, data['fields'] and data['where'] - a:1:{s:2:"ID";s:4:"7261";} are required</b><br />line# <font color='green'><b>455</b></font><br />file: <font color='green'><b>/home/******/public_html/includes/classes/rlDb.class.php</b></font><br />PHP version: 7.4.9 <br /></span>

was fixed in version 4.8 but is now bugged again in version 4.8.1.

4.8.1 verzion

if (!is_array($data['fields']) || !is_array($data['where'])) {
$fields = $data['fields'] ? ' - ' . serialize($data['fields']) . ',' : '';
$where = $data['where'] ? ' - ' . serialize($data['where']) : '';

trigger_error(__METHOD__ . " failed, data['fields']{$fields} and data['where']{$where} are required", E_USER_ERROR);

return false;
}


4.8.0

if (!is_array($data['fields']) || !is_array($data['where'])) {
trigger_error(__METHOD__ . " failed, data['fields'] - ".serialize($data['fields'])." or data['where'] - ".serialize($data['where'])." are required for table: ".$table, E_USER_ERROR);




return false;
}