Jump to content
Sign in to follow this  
denully

Oops! Something went wrong and we couldn't process your request.

Recommended Posts

So i'm one of the lucky ones to have the "Oops! Something went wrong and we couldn't process your request." and be stuck with it. This (from what i have found so far) only happens under configproducts.php, i can see the page itself, but trying to add or edit products, gives the error every time.

 

  • I am running within the minimal WHMCS server requirements.
  • I have Enabled and Disabled Error reporting in PHP, both giving the same results.
  • I have Enabled and Disabled show errors (together with the above) and i still only see the "oops.....", however in the activity log it says: Error: exception 'Whoops\Exception\ErrorException' with message 'Undefined offset: 1' in /var/####/####/####/####/####/admin/configproducts.php:0 Stack trace: #0 /var/####/####/####/####/####/admin/configproducts.php(0): Whoops\Run->handleError(8, 'Undefined offse...', '/var/####/####...', 0, Array) #1 {main}
  • Which i unfortunately didn't understand much of.
  • I tried to roll back to version 7.1 where the issue wasn't and then try a Manual update (rather then automatic update) to 7.2.1 , however this didn't change anything.
  • I can't recall or recreate it, but at some point in all my clicking and testing i ended on a page giving me an error with something like: 'Class 'Smarty_Internal_ParseTree_DqContent' not found' in...... , i was unfortunately tired, annoying and worn out and went to bed then and now cant find that error again, but figured i would throw it in anyway.
  • To the above smarty error, i tried to delete the smarty folder under Vendor and reupload from whmcs full package again, making sure there was a Smarty_internal_parsetree file. The issue was still there after that, but again i can't seem to find it now.

 

I read some suggestions of updating PHP to version 7, which i have requested from the Host, but that wont be happening any time soon, as of now im running on PHP Version 5.6.30

 

any suggestions would be highly appreciated

Share this post


Link to post
Share on other sites

Seeing an Oops error page like this indicates an error occurred during the generation of the page. The error can be anything, from a simple notice or warning to a fatal error that halts execution. It's the PHP error reporting level on your server that determines which types of errors will trigger it.

 

In this case, it appears the error is just a low level warning and not something to be concerned about. It does however suggest your PHP error_reporting level on the server is a little high for a production environment and we would recommend reducing it in your servers php configuration to 0, or at least to exclude warnings and notices.

 

-Ed

Share this post


Link to post
Share on other sites

it has already been deactivated, yet the error was still there.

 

I will take it up with the server Tech, if they can see why its still showing reports then.

 

thanks.

Edited by denully

Share this post


Link to post
Share on other sites

i have the same problem

 

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

 

clients can not access their accounts and the worst part no one can place a new order.

 

ticket #SOR-913935 - error client area after update to 7.2

Share this post


Link to post
Share on other sites
i have the same problem

 

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

 

clients can not access their accounts and the worst part no one can place a new order.

 

ticket #SOR-913935 - error client area after update to 7.2

 

 

if you enable Error Logging and try again, do you also, i the log, see some issues with Smarty ?

 

I have unfortunately yet resolved my issue either, so just trying to see if we both have issues with Smarty and that might be whats causing all this.

Share this post


Link to post
Share on other sites

I resolved, I delete the LANG folder and I uploaded a new one again, the upgrade installation leave a langupdate.php file in the folder that it was causing the problem.

 

whmcs used to answer their support ticket faster now takes days.

Share this post


Link to post
Share on other sites
I resolved, I delete the LANG folder and I uploaded a new one again, the upgrade installation leave a langupdate.php file in the folder that it was causing the problem.

 

whmcs used to answer their support ticket faster now takes days.

 

ah glad it worked out, unfortunately the language fix didnt help with mine :(

and yea your right, the support/update package got more expensive and the speed of service dropped.

Share this post


Link to post
Share on other sites

Turns out the problem was a server module in whmcs, one we had for phpmumbleadmin. why it caused issues for normal products i dont know, as they had no connections what so ever.

Edited by denully

Share this post


Link to post
Share on other sites

+1 on this - I deleted a bunch of legacy/unnecessary modules from the Modules/Servers folder and the error was fixed. As you mentioned i don't know why either as they had no connections what so ever to any of the modules I was using, wasted a few hours on this one.

Share this post


Link to post
Share on other sites
your PHP error_reporting level on the server is a little high for a production environment

 

OMG!!!

 

If there are errors in the code, the solution is solve it, not hide it.

:twisted:

Share this post


Link to post
Share on other sites

Hello,

 

I can confirm this error.

 

I solved downgrading php to 5.6.

I was running 7 and could not run 7.1 due to ioncube problems.

 

Regards

Share this post


Link to post
Share on other sites
If there are errors in the code, the solution is solve it, not hide it

I think the point wasn't to hide it entirely, just from public visibility. ;)

You can still log errors without showing them on the page.

Share this post


Link to post
Share on other sites

Hi Guys, i also use WHMCS (V7.2.3) with the same problem with you,,,

Oke.... These bugs is patched now...

You just need Delete/Remove Norwegian.php&English.php in lang folder. ....

Share this post


Link to post
Share on other sites
You just need Delete/Remove Norwegian.php&English.php in lang folder. ....

Some of us will need at least one of those. My client base is almost entirely English speaking, for example.

Share this post


Link to post
Share on other sites
Hi Guys, i also use WHMCS (V7.2.3) with the same problem with you,,,

Oke.... These bugs is patched now...

You just need Delete/Remove Norwegian.php&English.php in lang folder. ....

and next time you run the WHMCS updater, it will restore both files back.

Share this post


Link to post
Share on other sites

In my case, it's was caused by a file called internetsecure.php. You can delete it or rename its file to internetsecure.php.bak in /whmcs/modules/gateways/

 

But before you do that, please follow the following guidelines to temporarily enable Error Reporting Levels in WHMCS... http://help.whmcs.com/s/16847/m/68919/l/736580-an-oops-something-went-wrong-error-after-update

Share this post


Link to post
Share on other sites

We had the same " Oops! Something went wrong and we couldn't process your request." after the client logged in. Hitting back did allow users to get to client area. We turned Display Errors on in General-Settings>Other. This displayed the error below and we were able to find the Module causing our issue.  Just for everyone's info; we removed the module and then installed the latest version but finally decided to just not use it. In our case it was no longer needed. 

 

Fatal error: Call to a member function item() on null in /home/bgnhosti/public_html/modules/servers/cpanelExtended/classes/cPanel/unban/class.cpanelUnbanModule.php on line 213
Oops!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

exception 'Whoops\Exception\ErrorException' with message 'Call to a member function item() on null' in /home/bgnhosti/public_html/modules/servers/cpanelExtended/classes/cPanel/unban/class.cpanelUnbanModule.php:213
Stack trace:
#0 /home/bgnhosti/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Call to a membe...', '/home/bgnhosti/...', 213)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}

Share this post


Link to post
Share on other sites

hello

i updated my whmcs to 7.4.2 and upgrade php to ver 7

after i upgraded they i have this problem

----------------------------------------------

!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

Whoops\Exception\ErrorException: Module 'PDO' already loaded in Unknown:0
Stack trace:

0 /home2/novinser/public_html/shop/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(32, 'Module 'PDO' al...', 'Unknown', 0)

1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()

2

 

 

Share this post


Link to post
Share on other sites

FIXED AND RUNNING:   (please do appropriate backups first)
 
Copy , download or chattr +i  configuration php file in billing folder
Save any custom images etc
empty out billing directory and upload all new files 

make sure old version/copy of configuration.php file is in folder, fix name of admin folder and go....   

Version of some file somewhere was old and did not have time to research which (error reporting turn off in admin panel?  kind of hard when system wont let you on right?)

Share this post


Link to post
Share on other sites
On 3/26/2018 at 9:31 AM, Randall_J said:

error reporting turn off in admin panel?  kind of hard when system wont let you on right?

Login to your control panel
Find PHPmyadmin
Select the WHMCS DB
In the SQL tab, run:

UPDATE tblconfiguration SET value='on' WHERE setting= 'DisplayErrors'

There you go

Just make sure to turn it off when you're done.
 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Similar Content

    • By Marco Aguilar
      Hi! An alert error with "oops!" code appears when I try to upload an image at Knowledge Base. It happens editing or adding an article. Image attached.
      Any idea to fix it?
       

    • By battles
      All products add to cart links now broken after update:
      https://oururl.net/cart.php?a=confproduct&i=2
       
      Oops!
      Something went wrong and we couldn't process your request.
      Please go back to the previous page and try again.
    • By akust0m
      Hey,
      When navigating to Utilities > Update WHMCS, I am greeted with the 'Oops! Something went wrong..' error.
      Temporarily displaying errors gives the following:
      TypeError: Argument 1 passed to WHMCS\View\Admin\HealthCheck\HealthCheckRepository::checkUpdaterRequirements() must be an instance of WHMCS\Installer\Update\Updater, string given, called in /var/www/vhosts/my.example.com/httpdocs/admin/update.php on line 0 and defined in /var/www/vhosts/my.example.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/HealthCheckRepository.php:0
      Stack trace:
      #0 /var/www/vhosts/my.example.com/httpdocs/admin/update.php(0): WHMCS\View\Admin\HealthCheck\HealthCheckRepository->checkUpdaterRequirements('67108864', NULL)
      #1 {main}
      How would I go about resolving this error?
      Thanks!
    • By dewdropz
      in my whmcs all can do multiple order from same domain name.. how i can stop this.. only 1 order can do with same domain name
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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