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

[2024.03] PHP Warnings #13761

Closed
tobiasd opened this issue Dec 24, 2023 · 13 comments
Closed

[2024.03] PHP Warnings #13761

tobiasd opened this issue Dec 24, 2023 · 13 comments
Labels
Milestone

Comments

@tobiasd
Copy link
Collaborator

tobiasd commented Dec 24, 2023

Please report here any PHP Warning message obtained running the 2023.12 stable or 2024.03-dev/rc versions.

Replaces #13157

@tobiasd tobiasd added the Bug label Dec 24, 2023
@tobiasd tobiasd pinned this issue Dec 24, 2023
@tobiasd tobiasd added this to the 2024.03 milestone Dec 24, 2023
@C0RD
Copy link

C0RD commented Dec 26, 2023

PHP Warning: Undefined property: stdClass::$value in /var/www/friendica.cord.de/addon/bluesky/bluesky.php on line 1324

worker [WARNING]: E_WARNING: Undefined property: stdClass::$value {"code":2,"message":"Undefined property: stdClass::$value","file":"/var/www/friendica.cord.de/addon/bluesky/bluesky.php","line":1324} - {"file":"bluesky.php","line":1324,"function":"bluesky_add_media","request-id":"658a47b2e7713","stack":"ErrorHandler::handleError (1324), bluesky_add_media (1130), bluesky_process_post (1093), bluesky_fetch_feed (14), bluesky_feed_run (581), Worker::execFunction (428), Worker::execute (121), Worker::processQueue (87)","uid":"98ae67","process_id":1455906}
2023-12-26T03:25:58Z worker [ERROR]: Uncaught Exception TypeError: "bluesky_get_content(): Argument #2 ($record) must be of type stdClass, null given, called in /var/www/friendica.cord.de/addon/bluesky/bluesky.php on line 1324" at /var/www/friendica.cord.de/addon/bluesky/bluesky.php line 1175 {"exception":"TypeError: bluesky_get_content(): Argument #2 ($record) must be of type stdClass, null given, called in /var/www/friendica.cord.de/addon/bluesky/bluesky.php on line 1324 and defined in /var/www/friendica.cord.de/addon/bluesky/bluesky.php:1175\nStack trace:\n#0 /var/www/friendica.cord.de/addon/bluesky/bluesky.php(1324): bluesky_get_content()\n#1 /var/www/friendica.cord.de/addon/bluesky/bluesky.php(1130): bluesky_add_media()\n#2 /var/www/friendica.cord.de/addon/bluesky/bluesky.php(1093): bluesky_process_post()\n#3 /var/www/friendica.cord.de/addon/bluesky/bluesky_feed.php(14): bluesky_fetch_feed()\n#4 /var/www/friendica.cord.de/src/Core/Worker.php(581): bluesky_feed_run()\n#5 /var/www/friendica.cord.de/src/Core/Worker.php(428): Friendica\\Core\\Worker::execFunction()\n#6 /var/www/friendica.cord.de/src/Core/Worker.php(121): Friendica\\Core\\Worker::execute()\n#7 /var/www/friendica.cord.de/bin/worker.php(87): Friendica\\Core\\Worker::processQueue()\n#8 {main}"} - {"file":null,"line":null,"function":null,"request-id":"658a47b2e7713","stack":"ErrorHandler::handleException (128), ErrorHandler::Friendica\\Core\\Logger\\Handler\\{closure}","uid":"98ae67","process_id":1455906}

@C0RD
Copy link

C0RD commented Dec 26, 2023

libpng warning: Interlace handling should be turned on when using png_read_image

@AlfredSK

This comment was marked as resolved.

toddy15 added a commit to toddy15/friendica that referenced this issue Jan 11, 2024
Quix0r pushed a commit to Quix0r/friendica that referenced this issue Jan 16, 2024
@dmorley

This comment was marked as resolved.

@MrPetovan

This comment was marked as resolved.

@dmorley

This comment was marked as resolved.

@dmorley

This comment was marked as resolved.

@AlfredSK

This comment was marked as resolved.

@AlfredSK

This comment was marked as resolved.

MrPetovan added a commit to MrPetovan/friendica that referenced this issue Feb 18, 2024
- Remove capturing expression for A|B in favor of bracket syntax in regular expression since matches aren't used.
- Regular expressions have their own character escape notation including backslashes that need to be escaped in a PHP string.
- Actually address friendica#13761 (comment)
@Friendlica
Copy link

geeting this since i switched to php 8.3 an RC

PHP Warning: Trying to access array offset on null in /view/smarty3/compiled/8a/7b/70/8a7b70de132de62462cc95bf286b4d9aabd73698_2.file.threaded_conversation.tpl.php on line 46'

@ne20002

This comment was marked as resolved.

@AlfredSK

This comment was marked as resolved.

MrPetovan added a commit to MrPetovan/friendica that referenced this issue Mar 6, 2024
MrPetovan added a commit to MrPetovan/friendica that referenced this issue Mar 6, 2024
- It's used to generate magic links of authors of comments on photos
- Address friendica#13761 (comment)
@AlfredSK

This comment was marked as resolved.

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

7 participants