Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of undefined constant module #40

Open
4-FLOSS-Free-Libre-Open-Source-Software opened this issue Jul 14, 2020 · 1 comment
Open

Use of undefined constant module #40

4-FLOSS-Free-Libre-Open-Source-Software opened this issue Jul 14, 2020 · 1 comment

Comments

@4-FLOSS-Free-Libre-Open-Source-Software

Arguments
"Use of undefined constant module - assumed 'module' (this will throw an Error in a future version of PHP)"

Whoops\Exception\ErrorException
/var/www/html/admin/modules/trunkbalance/page.trunkbalance.php251

@RustemFS
Copy link

Arguments "Use of undefined constant module - assumed 'module' (this will throw an Error in a future version of PHP)"

Whoops\Exception\ErrorException /var/www/html/admin/modules/trunkbalance/page.trunkbalance.php251

Insert the following lines into the beginning of the file /var/www/html/admin/modules/trunkbalance/page.trunkbalance.php :

define('module', $_SERVER['module']);
define('version', $_SERVER['version']);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants