PHP message: PHP Warning: Undefined array key "context" in /usr/local/www/phpvirtualbox/endpoints/lib/language.php on line 77
Created attachment 231363 [details] workaround
Is the patch obtained from an existing externa/third party source? If so, please include references
(In reply to Kubilay Kocak from comment #2) This is mine quick workaround, have no idea how to proper fix it, but without this code block it continue work. Probably it was broken and php7 ignore errors and continue execute.
Created attachment 231467 [details] patch
Created attachment 231712 [details] patch Add patch for media selection dialog.
Add please patches from my set too: https://github.com/phpvirtualbox/phpvirtualbox/issues/306
For both - www/phpvirtualbox and www/phpvirtualbox-legacy.
Created attachment 242211 [details] www/phpvirtualbox: php8 support (In reply to Ivan Rozhuk from comment #5) Both patches: > This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. IMHO, better add patch to the port.
Created attachment 242212 [details] www/phpvirtualbox-legacy: php8 support Same patch for www/phpvirtualbox-legacy.
https://reviews.freebsd.org/D40115 https://reviews.freebsd.org/D40116
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e134016b3d5eb6d1f8b741ccf1516151a6c23189 commit e134016b3d5eb6d1f8b741ccf1516151a6c23189 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-05-21 15:32:48 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-05-21 15:32:48 +0000 www/phpvirtualbox: PHP 8 support Patched from different sources PR: 261498 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D40115 www/phpvirtualbox/Makefile | 1 + www/phpvirtualbox/files/patch-php8 (new) | 187 +++++++++++++++++++++++++++++++ 2 files changed, 188 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3629be7b94fdc12e18b85c127ffdcfe894c7c07 commit f3629be7b94fdc12e18b85c127ffdcfe894c7c07 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-05-22 09:52:20 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-05-22 09:52:20 +0000 www/phpvirtualbox-legacy: PHP 8 support Patched from different sources PR: 261498 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D40116 www/phpvirtualbox-legacy/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
A commit in branch 2023Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c94e0944b7f5e3c189673a25be75db3322bf0f72 commit c94e0944b7f5e3c189673a25be75db3322bf0f72 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-05-22 09:52:20 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-05-22 10:00:46 +0000 www/phpvirtualbox-legacy: PHP 8 support Patched from different sources PR: 261498 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D40116 (cherry picked from commit f3629be7b94fdc12e18b85c127ffdcfe894c7c07) www/phpvirtualbox-legacy/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
A commit in branch 2023Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=df45388d37d5a156a503c51bffd051ed314cf3ef commit df45388d37d5a156a503c51bffd051ed314cf3ef Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-05-21 15:32:48 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-05-22 10:00:37 +0000 www/phpvirtualbox: PHP 8 support Patched from different sources PR: 261498 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D40115 (cherry picked from commit e134016b3d5eb6d1f8b741ccf1516151a6c23189) www/phpvirtualbox/Makefile | 1 + www/phpvirtualbox/files/patch-php8 (new) | 187 +++++++++++++++++++++++++++++++ 2 files changed, 188 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f1b38acfda124fc8f03fe5f4edfef10ef214501 commit 3f1b38acfda124fc8f03fe5f4edfef10ef214501 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-09-18 12:35:49 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-09-18 12:39:54 +0000 www/phpvirtualbox{,-legacy}: PHP 8 support (1 more catch) - "preg_replace" Fixed: PHP Warning: preg_replace() expects at least 3 parameters, 2 given in endpoints/screen.php on line 91 PR: 261498 Approved by: tcberner (mentor) MFH: 2023Q3 www/phpvirtualbox-legacy/Makefile | 2 +- www/phpvirtualbox/Makefile | 2 +- www/phpvirtualbox/files/patch-php8 | 28 +++++++++++++++++++++++++--- 3 files changed, 27 insertions(+), 5 deletions(-)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc4ebc143c4b097ec1ea90fa6831a3125c8619de commit fc4ebc143c4b097ec1ea90fa6831a3125c8619de Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-09-18 12:35:49 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-09-18 12:47:04 +0000 www/phpvirtualbox{,-legacy}: PHP 8 support (1 more catch) - "preg_replace" Fixed: PHP Warning: preg_replace() expects at least 3 parameters, 2 given in endpoints/screen.php on line 91 PR: 261498 Approved by: tcberner (mentor) MFH: 2023Q3 (cherry picked from commit 3f1b38acfda124fc8f03fe5f4edfef10ef214501) www/phpvirtualbox-legacy/Makefile | 2 +- www/phpvirtualbox/Makefile | 2 +- www/phpvirtualbox/files/patch-php8 | 28 +++++++++++++++++++++++++--- 3 files changed, 27 insertions(+), 5 deletions(-)