[2025-03-05 05:40:02] production.ERROR: Class “PDO” not found {“exception”:"[object] (Error(code: 0): Class "PDO" not found at /home/**/domains/invoice./public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:118)
[stacktrace]
Checking the issue with the hosting provider as well.
but this is the latest errors
2025-03-05 05:59:59] production.ERROR: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 36864 bytes) {“userId”:1,“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Allowed memory size of 1073741824 bytes exhausted (tried to allocate 36864 bytes) at /home//domains/invoice..co.za/public_html/app/Http/Controllers/SelfUpdateController.php:101)
[stacktrace] #0 {main}
“}
[2025-03-05 06:00:02] production.ERROR: Class “PDO” not found {“exception”:”[object] (Error(code: 0): Class "PDO" not found at /home//domains/***.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:118)
[stacktrace]
Ever since I’ve been exploring Invoice Ninja on a quality AU Hosting server, I’ve always experienced these issues “Something went wrong”
I’ve become reliant on Softaculous to Backup and Update. https://softaculous.com/apps/ecommerce/Invoice_Ninja
That’s CraZy!
I’ve 1 Gig of PHP memory on my host and Invoice Ninja has always failed updating from withing the admin dashboard. Although Softaculous does update IN when they eventually get to it.
Currently chatting with hosting provider, so not sure if it will make a difference but I have identified the following module is not installed * common on php.
Currently diagnosing to see what the issue is.
@hillel just want to ensure I am correct path with regards to the modules.
Also wanted to know how come Softacoulous dont have the update option, is there a delay?
I asked my AU Quality Hosting Privider the exact same question a little while ago. Here is their reply
"The ‘Common’ PHP extension here is essentially an indication of the extensions, licenses, and support files that are installed within the php-common package, which are installed and utilised by your current PHP installation
Rather than the requirements listing every single one of the PHP extensions that are installed within this package, the requirements list these as ‘common’
So in answer to your question, as the extensions that you will require within this package are already enabled, you will not have issues"
I’ve also 1Gb of PHP memory allocated and have always experienced this “Something went wrong” error.
Softaculous can take a couple of weeks before they release an update. In that time Invoice Ninja would have gone through a bunch of updates themselves, so Softaculous never has a chance of having the latest Invoice Ninja package.
Why updates work with Softaculous and not from within Invoice Ninja Dashboard? I could take a guess and assume it’s something to do with how the Hosting Company has allocated resources to Softaculous. But frankly I’m just glad it updates after spending hours and hours reading and experimenting.
I’ve only just updated to 5.11.49 from within Softaculous but Invoice Ninja latest package is 5.11.51. Maybe in a couple of weeks I’ll be on this release and Invoice Ninja will be at version 6.10.55
Also, I’d like to add Softaculous backup and restore has proven to be rock solid. I’ve deliberately Deleted the whole File structure and Dropped the Database tables. After using the Softaculous restore functions, Invoice Ninja was back up and running withing minutes
If you’re going Self Hosted, I’d highly recommend using Softaculous to install and manage Invoice Ninja.
But like @Peter_C softacuoulous takes time to update and the update from the Invoice Dashboard dont work would be nice if we could get it working thou.