mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #1434] Warnings with PHP 8.3 #652
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#652
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @s22-tech on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1434
Originally assigned to: @christer77 on GitHub.
After successfully installing Cypht under 8.3, I'm seeing these warnings.
This warning gets produced every minute:
PHP Warning: Undefined array key "list_page" in /path/to/cypht/modules/imap/handler_modules.php on line 1331I changed this line:
$list_page = (int) $this->request->get['list_page'];to:
$list_page = (int) $this->request->get['list_page'] ?? null;but it still produced the same warning. So I changed it to this:
$list_page = intval($this->request->get['list_page'] ?? null);and the warnings stopped.
Same with this one:
PHP Warning: Undefined array key "list_page" in /path/to/cypht/modules/imap/handler_modules.php on line 2089
$list_page = intval($this->request->get['list_page'] ?? 1);I didn't experience a problem with other similar lines in this file, but you may want to do the same thing to lines 734 and 1270.
When navigating to the Snoozed screen, "Server Error" shows on the screen twice, and also produces this error:
When navigating to any screen, except Calendar or Compose, "Server Error" will flash briefly on screen but it doesn't seem to produce an error.
And here are 2 more that I couldn't resolve:
PHP Warning: Undefined variable $imap in /path/to/cypht/modules/imap/handler_modules.php on line 1149
PHP Warning: Attempt to read property "folder_state" on null in /path/to/cypht/modules/imap/handler_modules.php on line 1149
@marclaporte commented on GitHub (Jan 28, 2025):
@Baraka24 @amaninyumu1 @Bienvenumoringa @christer77 @IrAlfred
Who can take on this on?
@marclaporte commented on GitHub (Jan 28, 2025):
Thank you @s22-tech for this report and https://github.com/cypht-org/cypht/issues/1431
@christer77 commented on GitHub (Jan 28, 2025):
Can I?
@christer77 commented on GitHub (Jan 28, 2025):
Here's my constant, being positioned in Flag, the request "ajax_imap_filter_by_type" is sent and it waits for a GET parameter "list_page" that was not allowed in setup.php
@christer77 commented on GitHub (Mar 26, 2025):
hello @s22-tech,
can you close this issue if is resolved here