Project

General

Profile

Actions

Regression #13712

closed

PHP error: pkg-utils.inc

Added by Steve Wheeler over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Category:
Package System
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Release Notes:
Force Exclusion
Affected Plus Version:
23.01
Affected Architecture:
All

Description

When switching repos in 23.01:

PHP ERROR: Type: 1, File: /etc/inc/pkg-utils.inc, Line: 1550, Message: Uncaught ArgumentCountError: Too few arguments to function pkg_switch_repo(), 1 passed in /usr/local/www/pkg_mgr_install.php on line 292 and exactly 2 expected in /etc/inc/pkg-utils.inc:1550
Stack trace:
#0 /usr/local/www/pkg_mgr_install.php(292): pkg_switch_repo('/usr/local/etc/...')
#1 {main}
thrown @ 2022-11-30 14:51:01

Tested in:

23.01-DEVELOPMENT (amd64)
built on Wed Nov 30 06:05:59 UTC 2022
FreeBSD 14.0-CURRENT

Does not affect 2.7


Files

clipboard-202212091105-mifzu.png (143 KB) clipboard-202212091105-mifzu.png Lev Prokofev, 12/09/2022 02:05 AM
Actions

Also available in: Atom PDF