Jump to content

jcn50

Member
  • Posts

    9
  • Joined

  • Last visited

About jcn50

jcn50's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I had something else that needed an upgrade: I had a POP3 cron set-up in the parent directory (../whmcsdata/crons/) and those scripts were not upgraded at all. You might want to double check those scripts when upgrading to v8!
  2. OK, I have manually re-uploaded v8.0.2r1 ZIP (minus the install folder) and it is working again WITHOUT that initial error! (yay). I hope this helps someone~
  3. I have updated composer and added nesbot: composer require nesbot/carbon However now I am getting this error, meh: PHP Fatal error: Uncaught Error: Class 'WHMCS\Utility\ErrorManagement' not found in init.php:0 But the file ErrorManagement.php file exists in /vendor/whmcs/whmcs-foundation/lib/Utility/ and all the files are correctly 8.0.2.r1...
  4. Oh sorry, I was not sure were to post~ if you want or if a mod comes around: this thread can be moved. I had to comment out the lines of that PHP script (see my previous post). That error is only triggered when logging in as an admin. I am not sure if it is linked with the theme/template that I have. The error does not suggest that, it seems to be a variable type mistake in the code (see below). I have just done this and it didn't work~ so I think it is a real bug. => Finally I have upgraded to version 8.0.2.r1 and it's the same. I have decided to email directly Brian Nesbitt whom seem to be the code maintainer of that script. I will revert here if I hear from him.
  5. Upgrading to v8.0.1.r1 did not change anything 😞
  6. ~I talked too fast: the error is still there and only showing when logging in as an admin~ 😯
  7. Hi Guys, I had this error after the upgrade to WHMCS v8.0.0.r1: [29-Sep-2020 09:54:12 UTC] [WHMCS Application] ERROR: TypeError: Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator() must implement interface Symfony\Component\Translation\TranslatorInterface, instance of Carbon\Translator given, called in /public_html/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 778 and defined in /public_html/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php:168 Stack trace: #0 /public_html/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php(778): Carbon\CarbonInterval->setLocalTranslator(Object(Carbon\Translator)) #1 /public_html/modules/widgets/Support.php(46): Carbon\Carbon->diffForHumans() #2 /public_html/vendor/whmcs/whmcs-foundation/lib/Module/AbstractWidget.php(0): WHMCS\Module\Widget\Support->generateOutput(Array) I had to comment out lines [777-779] of this file: /vendor/nesbot/carbon/src/Carbon/Traits/Difference.php for the admin to work!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated