Shipping

Open to all! Ask other shopowners for help.
FlagShipper
Member
Posts: 17
Joined: Thu Aug 20, 2026 12:56 am
Phoenix Version: v1.1.0.7
Been thanked: 1 time

Shipping

Post by FlagShipper »

Going to Modules > Shipping gives me a 500 error

[Thu Sep 24 16:10:24.960616 2026] [proxy_fcgi:error] [pid 786870:tid 786984] [client 15x.4x.4x.0:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Table::__construct(), 0 passed in /home/localcomx/domains/website.com/public_html/admin/includes/classes/cfg_modules.php on line 111 and exactly 1 expected in /home/localcomx/domains/website.com/public_html/admin/includes/classes/table.php:16\nStack trace:\n#0 /home/localcomx/domains/website.com/public_html/admin/includes/classes/cfg_modules.php(111): Table->__construct()\n#1 /home/localcomx/domains/website.com/public_html/admin/modules.php(48): cfg_modules::list_modules()\n#2 {main}\n thrown in /home/localcomx/domains/website.com/public_html/admin/includes/classes/table.php on line 16', referer: https://website.com/admin/configuration.php?gID=7

Line 111-125 in cfg_modules shows
$module = new $pathinfo['filename']();
$vars = get_object_vars($module);
$vars['file'] = $file;
if ($module->check() > 0) {
if (($module->sort_order > 0) && !isset($module_files['installed'][$module->sort_order])) {
$module_files['installed'][$module->sort_order] = $vars;
} else {
$module_files['installed'][] = $vars;
}
} else {
$key = $module->title;
if (isset($module->group)) {
$key = "{$module->group}-$key";
}

Server is running php7.4, any help would be appreciated! Shipping rates keep going up, wanted to edit my table rate shipping but the page won't load! Recently upgraded from osc to phoenix 1.1.0.7



Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4736
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 279 times
Been thanked: 467 times

Re: Shipping

Post by burt »

Bug in v1.1.0.7.

Update to v1.1.0.8 => viewtopic.php?f=10&t=3492
I am not here to build for you.
I am here to build with you. Let's help each other.

FlagShipper
Member
Posts: 17
Joined: Thu Aug 20, 2026 12:56 am
Phoenix Version: v1.1.0.7
Been thanked: 1 time

Re: Shipping

Post by FlagShipper »

Thanks!



Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply