All Activity
- Yesterday
-
VRCaribbeanHomes joined the community
-
House Of Publisher joined the community
-
I'll give that a try, thanks. I couldn't find this in the docs. Is it really necessary to use AI to figure out hooks in the newer versions?
-
Evolve Web Hosting started following Bug WHMCS-25204
-
I have not tested this because I'm not using 9.x but this is an AI generated response that you could try on a test install by adding a hook and a small amount of code to clientareaproductdetails.tpl <?php /** * Fix: DivisionByZeroError when upgrading to a one-time product * Affected: WHMCS 9.x + PHP 8.x — upgradefunctions.php::SumUpPackageUpgradeOrder() * * Root cause: PHP 8.x throws a DivisionByZeroError where PHP 7.4 silently * returned 0. When upgrading to a one-time product, WHMCS attempts to * divide by the billing cycle days, which is 0 for one-time products. * * Save as: /includes/hooks/fix_upgrade_onetime_division.php */ // Hook files are loaded before upgrade.php runs its calculations, // so we can register an exception handler here at file level to // intercept the DivisionByZeroError before it becomes a fatal crash. if ( isset($_SERVER['SCRIPT_FILENAME']) && basename($_SERVER['SCRIPT_FILENAME']) === 'upgrade.php' ) { // Capture any existing handler so we can chain it for unrelated errors $previousUpgradeExceptionHandler = set_exception_handler(null); set_exception_handler(function (\Throwable $e) use ($previousUpgradeExceptionHandler) { // Only intercept the specific bug — let everything else propagate normally if ( $e instanceof \DivisionByZeroError && strpos($e->getFile(), 'upgradefunctions.php') !== false ) { $serviceId = isset($_REQUEST['id']) ? (int) $_REQUEST['id'] : 0; header( 'Location: clientarea.php?action=productdetails' . '&id=' . $serviceId . '&upgrade_error=onetime' ); exit; } // Not our error — pass to the previous handler or PHP default if (is_callable($previousUpgradeExceptionHandler)) { call_user_func($previousUpgradeExceptionHandler, $e); } else { restore_exception_handler(); throw $e; } }); } /** * After the redirect, display a clear notice on the product details page * so the client knows what happened and what to do next. */ add_hook('ClientAreaPageProductDetails', 1, function ($vars) { if (empty($_GET['upgrade_error']) || $_GET['upgrade_error'] !== 'onetime') { return []; } return [ 'upgradeOnetimeError' => true, 'upgradeOnetimeMessage' => 'Upgrading to a one-time payment product is not ' . 'supported via the self-service upgrade tool. Please contact support ' . 'and we will arrange this for you manually.', ]; }); Add to clientareaproductdetails.tpl {if $upgradeOnetimeError} <div class="alert alert-warning"> {$upgradeOnetimeMessage} </div> {/if}
-
Evolve Web Hosting started following Hide admin sidebar by default
-
@bear This works with the Blend theme <?php add_hook('AdminAreaHeadOutput', 1, function($vars) { return '<script> document.addEventListener("DOMContentLoaded", function() { document.body.classList.add("sidebar-collapse"); }); </script>'; }); From Claude: The new Blend admin theme in WHMCS is built on AdminLTE, which collapses the sidebar by adding a sidebar-collapse class to the <body> tag — it no longer uses the minsidebar variable from the old theme.
-
TTX65 joined the community
-
Modules not showing after installation
Simon Flex replied to Jackson12's topic in General Discussion
One common issue is running the installer but not finalizing the module registration step. After installation: Check if modules were actually copied into the correct directory Refresh the admin panel fully (hard reload) Rebuild the module index if your system supports it Sometimes the UI shows success, but the modules are not registered in the system database yet. -
Simon Flex started following Modules not showing after installation
-
Modules not showing after installation
Simon Flex replied to Jackson12's topic in General Discussion
, -
Kane William started following Modules not showing after installation
-
Modules not showing after installation
Kane William replied to Jackson12's topic in General Discussion
Hi Jackson First, make sure you’ve completed all prerequisites: Correct PHP version installed Composer available (if required) Proper write permissions on /modules or installation directory Clean cache after installation A lot of “missing modules” issues come from the cache not refreshing after install. -
purelifecbdoffer joined the community
-
Any update on this ?
-
juntohotel joined the community
-
CS-Design joined the community
- Last week
-
Joseph Agalabia joined the community
-
Blend, as mentioned.
-
What template are you using? Standard WHMCS templates or lagom?
-
Just moved to the latest WHMCS, and a lot of my older hooks no longer work correctly. A basic one would be to hide the admin sidebar until I click to expand. The code below was working (courtesy Brian!). Now it hides the content, but the sidebar still takes up the space it would occupy (blend template in admin). function hook_admin_minimise_sidebar($vars) { return array("minsidebar" => true); } add_hook("AdminAreaPage", 1, "hook_admin_minimise_sidebar"); Have I missed something? Hs this hook point been changed? Docs don't specifically mention this, but the hooks don't seem to have significantly changed between versions. I have several other useful hooks, and all seem to be non functional.
-
yourwebstudios changed their profile photo
-
I’ve added: $allow_adminarea_invoice_mutation = true; Honestly, this change is a nightmare for our daily workflow. We need to edit invoices every day, and with this new restriction, what used to be a simple operation has become an everyday problem. In my opinion, this was a very bad decision from a usability point of view, especially for companies that manage billing operations daily and need flexibility when handling invoices.
-
I’m trying to install ModulesStack from https://modulesstack.com/installation/ I followed the steps, but I’m not sure if I’m doing it correctly. The installer runs, but the modules don’t appear in my admin panel. Has anyone successfully installed it? What am I missing?
-
Changelog 6.2.5 Added: support for the WHMCS "Nexus" theme Added: SMS Manager Integration Improved: The License System Improved: Help Page Improved: Blacklist Services Updated: Support WHMCS 8.13.x & 9.0.x Updated: Requires ionCube Loader v14 Fixed SMS Package Removed: Old SMS Integration Removed: Remove Support for WHMCS V8.11.x to 8.12.x Removed: Support for PHP 8.1
-
Hi everyone, I wanted to share a great new module I recently discovered that could be a game‑changer for anyone running IPTV or OTT services with WHMCS. It’s a fully featured IPTV/OTT Billing Module for NXT Dash, designed specifically to integrate seamlessly with WHMCS and streamline your service billing, management, and automation. 🔗 Check it out here: https://www.whmcsmodules.com/index.php?m=product_page&pid=68&name=iptv|ott-billing-module-for-nxt-dash-(owner)
-
I'm using the smarty folder from version 8.13.1 I think the problem is that the class Smarty_Internal_Method_GetVariable was removed in Smarty 4, which is why we're getting that error. Something is still using that, probably a third-party plugins, themes or modules. I deleted the /templates folder and uploaded that again from the latest version, that didn't work so it's not that anyway. The error mesage is very vague so its difficult to troubleshoot. Thanks Dave Geoghegan https://www.webworld.host
-
UnderHost changed their profile photo
-
Hi everyone, we develop WHMCS modules and we are trying to find a reliable way to debug our own module code with Xdebug while running WHMCS with ionCube Loader enabled. There is an open/closed Xdebug issue about crashes when Xdebug 3.3+ and ionCube Loader are loaded together: https://bugs.xdebug.org/view.php?id=2244 Xdebug’s compatibility docs also state that Xdebug does not work together with ionCube or similar extensions that interact with PHP internals: https://xdebug.org/docs/compat Our current test setup is: Xdebug: 3.5.1 PHP: 8.3 / 8.4 ionCube Loader: 15.5.0 Docker: php:8.3-fpm-bookworm / php:8.4-fpm-bookworm Web server: httpd:alpine proxying to php-fpm With this setup we get PHP segfaults. PHP 8.1 FPM does not seem to trigger the same issue for us. We used PHP 8.1 since WHMCS v8.13, upgrading our stack to WHMCS 9.0 and PHP 8.3, we are unable to use xDebug. We are not trying to debug WHMCS encoded core files. We only need WHMCS to run normally while debugging our own modules, hooks, and integration code. Has anyone found a stable workflow for this? Reaching the ionCube support we have this feedback: Any practical setup or workaround would be appreciated.
- Earlier
-
It looks like they released several maintenance releases, with some addressing issues reported in this post (9.0.1, 9.0.2, 9.0.3). I was just wondering if anyone had a current list of what was still broken after the last maintenance release. Are we saying nothing has been fixed since the initial release of 9.0? None of the maintenance releases actually fixed anything?
- 43 replies
-
- WHMCS-24931
- WHMCS-24949
-
(and 1 more)
Tagged with:
-
So Basically a massive FU from the whmcs staff who have neglected to address any concerns.
- 43 replies
-
- WHMCS-24931
- WHMCS-24949
-
(and 1 more)
Tagged with:
-
Critical Financial Report Issues After Updating to WHMCS 9.0.0
Damo replied to Paulo Nichio's topic in Troubleshooting Issues
All issues remain on 9.0.4. It was a security release, nothing more, see https://blog.whmcs.com/133788/whmcs-904-and-8133-maintenance-releases- 43 replies
-
- WHMCS-24931
- WHMCS-24949
-
(and 1 more)
Tagged with:
-
What issues still remain on the 9.0.4 release?
- 43 replies
-
- WHMCS-24931
- WHMCS-24949
-
(and 1 more)
Tagged with:
-
As a result, we would like to share information with you about our Memorial Day Special available through WHMCS Services. As you know, this is the time of year when we honor and remember those who gave their lives protecting their families and country while serving in the US military. All WS Modules will be discounted at an unbelievable 30% off the Source Code and 25% off the license version. That is right, you heard right! Go to www.whmcsservices.com/memorial.php and use MemorialSC in the coupon code to receive 30% off the source code version; use Memorial26 in the coupon code to receive 25% off the licensed version. DO NOT miss this great Memorial Day Special Deal! Please remember to use the discount when you order. Save even more! Hurry! Sales End May 26th, 2026 Do You Need Custom Development? Don't hesitate any longer! Contact us now! If you're looking to add your banner to the WHMCS Services Network, click here Chat with us through live support, or send a ticket if you want more information. There you will find all your questions answered. If you have any questions, you can email us at sales (at) whmcsservices.com Our Social Media: Twitter Here Facebooks Here Instagram Here LinkedIn Here
-
@davegeoghegan Did you copy the WHMCS 9.0 vendor folder files over the existing 8.13.1 vendor folder? The proper way is to delete the old vendor folder completely and then upload the fresh vendor folder from WHMCS 9.0. If you are still getting this error even after doing that, it will require a more careful examination.
-
Possibly an incompatibility issue with your current php version. Are you using a php version below 8.2
-
Just an update on this, I had the same problem on a different installaton of WHMCS & this trick didn't work. To fix this one I had to restore the /vendor/smarty folder from the previous version. After doing that I was able to see the client area again. Thanks Dave Geoghegan https://www.webworld.host
