Jump to content
Sign in to follow this  
exemaco

after upgrading to whmcs-8.1.0-rc.1 my site with no load

Recommended Posts

Hi,

After updating whmcs the CPU usage is at 100%, 2 days have passed and the problem persists.

Error_log

[21-Dec-2020 16:03:16 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0
[21-Dec-2020 16:04:08 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0
[21-Dec-2020 16:05:22 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0
[21-Dec-2020 16:05:28 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0
[21-Dec-2020 17:11:57 UTC] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0

Share this post


Link to post
Share on other sites

Same here.

I reported that problem during beta version and for the past few days I am trying to explain via tickets to them that they have a bug but they do not listen. They keep saying that the problem is in the server even if there is no problems with the version 8.0.4. It is very bad from WHMCS support not to listen their users and they do not even want to check and see that there is a bug.

Ticket #YEY-066289

Share this post


Link to post
Share on other sites

Hello,

I have identical problem after upgrade to WHMCS 8.1 - now I can't access to WHMCS!  Everything working fine on older WHMCS versions. I'am using cPanel....
 

Anyone have resolution???

Thank you

Share this post


Link to post
Share on other sites
Posted (edited)

I am fighting a battle with the guy named Lawrence Williams from support. He simply dont want to read what i'm writing and he constantly claims some thing completely non related to common sense. Is there any other way to contact the support, or someone else who knows how to do their job and who actually listen to their clients and have at least a bit of knowledge?

As for the problem when I trace the process it is obvious that they have loop in code. 

[02-Jan-2021 19:26:03 Europe/Sarajevo] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0
[02-Jan-2021 19:26:04 Europe/Sarajevo] [WHMCS Application] ERROR: Whoops\Exception\ErrorException: Maximum execution time of 300 seconds exceeded in /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php:0 Stack trace: #0 /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Maximum executi...', '/home/centoserv...', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 1): Maximum execution time of 300 seconds exceeded at /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php:0)"} []
[02-Jan-2021 19:26:43 Europe/Sarajevo] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0
    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3062954 centoser  20   0  307m  31m 9808 R 100.0  0.2   3:08.80 /opt/cpanel/ea-php74/root/usr/bin/php -q /home/centoserver/public_html/ap/crons/cron.php
3062666 centoser  20   0  225m  35m 9720 R 100.0  0.2   3:55.88 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/cart.php
3061974 centoser  20   0  223m  35m 9708 R 100.0  0.2   4:40.29 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/chadm/index.php
3062898 centoser  20   0  217m  36m 9720 R 100.0  0.2   3:11.14 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/cart.php
3062555 centoser  20   0  223m  33m 9708 R 100.0  0.2   3:42.61 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/chadm/index.php
3062470 centoser  20   0  225m  37m 9728 R 100.0  0.2   4:01.09 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/chadm/supporttickets.php
Process 3061974 attached
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000
munmap(0x2b82df400000, 4198400)         = 0
mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 4198400)         = 0
mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000
munmap(0x2b82df201000, 2093056)         = 0
munmap(0x2b82dee00000, 4198400)         = 0

 

Edited by massa

Share this post


Link to post
Share on other sites

Hello @massa,

I can confirm it’s not something we can reproduce locally, however, I’d like to ensure we understand why yourself and others are experiencing this issue. 

Would you please PM me your ticket ID so I can take a look further myself?

Thanks! 

Share this post


Link to post
Share on other sites
5 hours ago, massa said:

I reported that problem during beta version and for the past few days I am trying to explain via tickets to them that they have a bug but they do not listen. They keep saying that the problem is in the server even if there is no problems with the version 8.0.4. It is very bad from WHMCS support not to listen their users and they do not even want to check and see that there is a bug.

 

Hello, I just reproduce this  in fresh copy of WHMCS and find what is the problem. Definitely BUG in WHMCS 8.1.

Share this post


Link to post
Share on other sites

It has been reported that this is occurring when using a third party template called "Clouder". It is currently unverified at this time if the cause is something specific to this particular template, so  it would be best to remove any custom templates by replacing the /templates folder, restoring each manually one at a time and checking until the issue returns. At that point, please reach out to the author to ensure it is up to date and compatible with the installed version of WHMCS (for example: 8.1).

Thank you for reaching out to us. Please feel free to share any updates here @massa

Share this post


Link to post
Share on other sites

Hi,

As a further update here, we have been able to determine that this issue may occur when an order form template contains a theme.yaml file referencing itself as the parent theme.

To resolve it, ensure that any custom order form templates in place don't reference themselves as the parent theme inside the theme.yaml file.

This has also been reported to our development team in CORE-16051 so it's better handled by the core product in future.

Thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By divisionx
      Whoops\Exception\ErrorException: Maximum execution time of 300 seconds exceeded in .../vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php:0
      Stack trace:
      #0 .../vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Maximum executi...', '/home/xxxx...', 0)
      #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
      #2 {main}
      Of course opened a ticket as this is a complete disaster. Replacing from backup.
  • 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