Guten Morgen zusammen,
heute morgen wurde eine Rechnung rausgeschickt, in der plötzlich ein Produkt war, welches dort gar nicht hingehört.
Ich hatte dies kontrolliert und konnte mir keine passende Erklärung geben.
Nun wollte ich eine neue Rechnung generieren und plötzlich kommt folgendes:
Code
Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.
If the problem persists, please contact us.
« Back to Homepage
For additional assistance, please reference the WHMCS TroubleShooting Guide »
WHMCS\Exception\Model\UniqueConstraint: A "WHMCS\Billing\Invoice\Data" record with "invoiceid" value "384" already exists. in /var/www/vhosts/XXX/vendor/whmcs/whmcs-foundation/lib/Model/Observer.php:0
Stack trace:
#0 /var/www/vhosts/XXX/vendor/whmcs/whmcs-foundation/lib/Model/Observer.php(0): WHMCS\Model\Observer->enforceUniqueConstraint(Object(WHMCS\Billing\Invoice\Data))
#1 [internal function]: WHMCS\Model\Observer->creating(Object(WHMCS\Billing\Invoice\Data))
#2 /var/www/vhosts/XXX/vendor/illuminate/events/Dispatcher.php(347): call_user_func_array(Array, Array)
#3 [internal function]: Illuminate\Events\Dispatcher->Illuminate\Events\{closure}(Object(WHMCS\Billing\Invoice\Data))
#4 /var/www/vhosts/XXX/vendor/illuminate/events/Dispatcher.php(221): call_user_func_array(Object(Closure), Array)
#5 /var/www/vhosts/XXX/vendor/illuminate/events/Dispatcher.php(164): Illuminate\Events\Dispatcher->fire('eloquent.creati...', Array, true)
#6 /var/www/vhosts/XXX/vendor/illuminate/database/Eloquent/Model.php(1675): Illuminate\Events\Dispatcher->until('eloquent.creati...', Object(WHMCS\Billing\Invoice\Data))
#7 /var/www/vhosts/XXX/vendor/illuminate/database/Eloquent/Model.php(1569): Illuminate\Database\Eloquent\Model->fireModelEvent('eloquent.creati...')
#8 /var/www/vhosts/XXX/vendor/illuminate/database/Eloquent/Model.php(1477): Illuminate\Database\Eloquent\Model->performInsert(Object(Illuminate\Database\Eloquent\Builder), Array)
#9 /var/www/vhosts/XXX/vendor/illuminate/database/Eloquent/Builder.php(257): Illuminate\Database\Eloquent\Model->save()
#10 [internal function]: Illuminate\Database\Eloquent\Builder->firstOrCreate(Array)
#11 /var/www/vhosts/XXX/vendor/illuminate/database/Eloquent/Model.php(3494): call_user_func_array(Array, Array)
#12 [internal function]: Illuminate\Database\Eloquent\Model->__call('firstOrCreate', Array)
#13 /var/www/vhosts/XXX/vendor/illuminate/database/Eloquent/Model.php(3508): call_user_func_array(Array, Array)
#14 /var/www/vhosts/XXX/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): Illuminate\Database\Eloquent\Model::__callStatic('firstOrCreate', Array)
#15 /var/www/vhosts/XXX/admin/invoices.php(0): WHMCS\Invoice::saveClientSnapshotData(384)
#16 {main}
Alles anzeigen
Kann mir jemand erklären was hier plötzlich schief läuft?
Wenn ich dann auf zurück klicke, wird mir die Rechnung als Entwurf angezeigt mit einem Produkt drin.
WHMCS hatte kein Update und funktionierte die Tage noch reibungslos!