liquidweb / liquidweb/LiquidWeb-WHMCS-Plugin

Compatibility with PHP 8.1

Open
#16 47 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi,

There are some issues regarding Ioncube for this plugin.
It's does not load the addon page, and prevents other areas of the WHMCS to work.

Running:
WHMCS 8.6.1
ionCube Loader® Version: 12.0.4
PHP 8.1

`
Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

For additional assistance, please reference the WHMCS TroubleShooting Guide »

Error: Undefined constant "sortx" in /modules/addons/StormBilling/pages/configuration/configuration.php:21
Stack trace:
#0 /modules/addons/StormBilling/core/core.php(157): require()
#1 /modules/addons/StormBilling/core/output.php(3): require_once('/m...')
#2 /modules/addons/StormBilling/StormBilling.php(91): require_once('/m...')
#3 /manager/addonmodules.php(0): StormBilling_output(Array)
#4 {main}
`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the addon-page failure on PHP 8.1 with WHMCS 8.6.1 and ionCube Loader 12.0.4. Inspect modules/addons/StormBilling/pages/configuration/configuration.php at line 21, then follow the calls through core/core.php, core/output.php, and StormBilling.php. Done means the addon page loads and other WHMCS areas are no longer blocked.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.