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

[2020.09] PHP Notices #8877

Closed
MrPetovan opened this issue Jul 13, 2020 · 18 comments
Closed

[2020.09] PHP Notices #8877

MrPetovan opened this issue Jul 13, 2020 · 18 comments
Labels
Milestone

Comments

@MrPetovan
Copy link
Collaborator

Please report here any PHP Notice message obtained running the 2020.07 stable or 2020.09-dev versions.

Follow-up to #8475

@MrPetovan MrPetovan added the Bug label Jul 13, 2020
@MrPetovan MrPetovan added this to the 2020.09 milestone Jul 13, 2020
@MrPetovan MrPetovan pinned this issue Jul 13, 2020
@AlfredSK
Copy link

AlfredSK commented Jul 17, 2020

2020.07 PHP 7.4

Trying to access array offset on value of type bool in .../src/Protocol/DFRN.php on line 967
Trying to access array offset on value of type bool in .../src/Protocol/DFRN.php on line 968

Fixed by #9041

@AlfredSK
Copy link

AlfredSK commented Jul 17, 2020

2020.09-dev PHP 7.4

Trying to access array offset on value of type bool in .../src/Model/Contact.php on line 241
Trying to access array offset on value of type bool in .../src/Model/Contact.php on line 242

➡️ Happened 8928 times in the last 16 hours. That makes roughly 16000 notices of this kind per day. 😣

Probably fixed by #8946

@AlfredSK
Copy link

AlfredSK commented Jul 17, 2020

2020.07 PHP 7.4

Trying to access array offset on value of type null in .../src/BaseModule.php on line 143

Fixed by #9041

@AlfredSK
Copy link

AlfredSK commented Jul 25, 2020

2020.07 PHP 7.4

Trying to access array offset on value of type null in .../src/Module/Settings/UserExport.php on line 118

Fixed by #9041

@AlfredSK
Copy link

AlfredSK commented Aug 3, 2020

2020.09-dev PHP 7.4

Undefined index: baseurl in .../view/theme/frio/theme.php on line 215

@AlfredSK
Copy link

AlfredSK commented Aug 11, 2020

2020.09-dev PHP 7.4

Undefined index: cid in .../src/Module/Search/Acl.php on line 353

Fixed by #9041

@annando
Copy link
Collaborator

annando commented Aug 20, 2020

After pulling the new themes and using one of them:
PHP Notice: Undefined variable: nav_bg in /view/theme/frio/php/default.php on line 74

Fixed by #9041

MrPetovan added a commit to MrPetovan/friendica that referenced this issue Aug 20, 2020
MrPetovan added a commit to MrPetovan/friendica that referenced this issue Aug 20, 2020
MrPetovan added a commit to MrPetovan/friendica that referenced this issue Aug 20, 2020
…port

- We don't delete fields, so there can be more fields in the database than in the DB structure
- Address friendica#8877 (comment)
MrPetovan added a commit to MrPetovan/friendica that referenced this issue Aug 20, 2020
MrPetovan added a commit to MrPetovan/friendica that referenced this issue Aug 20, 2020
@ghost
Copy link

ghost commented Aug 28, 2020

PHP Notice: Undefined index: addr in /friendica/src/Model/Contact.php on line 1915

Fixed by #9233

@AlfredSK
Copy link

2020.09-dev:

Undefined variable: v in .../src/Module/Settings/UserExport.php on line 121

@ghost
Copy link

ghost commented Sep 2, 2020

PHP Notice: Undefined index: addr in /friendica/src/Model/Contact.php on line 1912

Fixed by #9233

@AlfredSK
Copy link

AlfredSK commented Sep 9, 2020

2020.09-rc

Undefined index: uid in .../addon/superblock/superblock.php on line 67

Looks like this notice is connected to that fatal error -> Link

Fixed by friendica/friendica-addons#1019

@AlfredSK
Copy link

AlfredSK commented Sep 9, 2020

2020.09-rc

Undefined index: id in .../mod/events.php on line 477
Undefined index: cid in .../mod/events.php on line 478
Undefined index: uri in .../mod/events.php on line 479
Undefined index: start in .../mod/events.php on line 485
Undefined index: finish in .../mod/events.php on line 486
Undefined index: adjust in .../mod/events.php on line 490

Fixed by #9233

@AlfredSK
Copy link

AlfredSK commented Sep 14, 2020

Some notices related to UserImport on 2020.09-rc (PHP 7.4):

Array to string conversion in .../src/Core/UserImport.php on line 263
Array to string conversion in .../src/Core/UserImport.php on line 265
Trying to access array offset on value of type bool in .../src/Core/UserImport.php on line 288

@AlfredSK
Copy link

AlfredSK commented Sep 14, 2020

2020.09-rc:

Trying to access array offset on value of type bool in .../src/Model/Mail.php on line 138

There's also a warning with the same time stamp.

Fixed by #9233

@AlfredSK
Copy link

AlfredSK commented Sep 15, 2020

2020.09-rc:

Undefined index: gravity in .../src/Protocol/ActivityPub/Processor.php on line 553

Fixed by #9245

@AlfredSK
Copy link

AlfredSK commented Sep 20, 2020

2020.09-rc:

Undefined index: text in .../src/Content/PageInfo.php on line 166

Fixed by #9245
Finally fixed by #9248

@ghost
Copy link

ghost commented Sep 20, 2020

166 ist not fixed

@MrPetovan MrPetovan unpinned this issue Sep 21, 2020
@MrPetovan
Copy link
Collaborator Author

Closed by #9252

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

No branches or pull requests

3 participants