Reply To: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export

SimpleInvoices Group Forum Forums Fearless359 SimpleInvoices Discussion Group Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export Reply To: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export

#1067
RRowley
Participant

Actually this is a good result. It means that all the db patches prior to one that sets the foreign keys in the database worked. What the error is reporting is the you have some entries in your si_cron_log table that have cron_id values that do not exist in the si_cron table. These are orphan records. You are offered two ways to resolve this. One is to update these orphan records to have a cron_id that exists. The other is to delete these orphan records.

The delete option is better in this instance because these records are likely left over from when their associated si_cron record was deleted.

So, display the si_cron_log table, copy the “DELETE” command, paste it into the SQL tab and hit the “go” button. Then access SI again and see if it doesn’t complete the update for you.

  • This reply was modified 3 months, 3 weeks ago by RRowley.