PHP

SuitedUpDev, (edited )
@SuitedUpDev@mastodon.online avatar

For any in the room, please don't do this...

As an outsider is reading this, I have NO clue if the "handleUpdate", "handleCreate" or "handleDelete" methods are actually being used.

Edit: grammar do be hard yo.

Aedius,
@Aedius@lavraievie.social avatar

@SuitedUpDev

That's "useful" to transform entities to model, handle some multi heritance before the traits or to call a private method for a similar object in a dependency.

Bonus point when error are not handled

eurosat7,

@SuitedUpDev at least a method_exists() ... But this was rushed code for sure. Maybe even some fire and forget mentally of a freelancer on fixed budget. Trying to be smart and cutting some corners...
But that always will cost more in the end.

Crell,
@Crell@phpc.social avatar

Looking for feedback.

I have a lib build for PHP 7 that has 3 methods:

addFoo($id, $priority)
addFooBefore($id, $before)
addFooAfter($id, $after)

($before/$after refer to some other $id.)

For PHP 8, I am strongly considering just assuming named args and changing it to:

addFoo($id, $priority, $before, $after);

Specify only one of priority/before/after, by name. Multiple is an error.

Is this a good idea/bad idea, and why?

Crell,
@Crell@phpc.social avatar

@gmazzap Ilija and I want to work on it and have a decent amount of design already done for it. No promise on timeline, but the rfc text for it and for pattern matching (which will be required) are already written. (The former needs some updates, of course.)

gmazzap,
@gmazzap@phpc.social avatar

@Crell that would great. Thanks!

ramsey,
@ramsey@phpc.social avatar

A friend was telling me about guidelines for developing and deploying new services in their company, and one of the guidelines is “new services must not use .”

I’m not making this up, and this isn’t hyperbole. They actually have this listed on their company documentation.

zimzat,
@zimzat@mastodon.social avatar

@ramsey Yeah 😞 Companies do one thing, very poorly, in a language early on and then decide to throw out the entire stack instead of addressing the elephant in the room.

It's like the only way they can justify putting effort into something is if they can make the case it's not worth the effort necessary to fix it incrementally.

danjones000,
@danjones000@microwords.goodevilgenius.org avatar

This is why I decided to learn go last year. Not because I enjoy learning new programming languages (I do, it's just not the reason), but because I can make more with a year or two of go than nearly twenty years of PHP.

@ramsey @inthehands

ocramius,
@ocramius@mastodon.social avatar

Looked again at a codebase written/maintained in PHP 5.5, where new code is designed and added on the existing app.

Made me realize that the only thing I miss from newer PHP versions is strict type checks, which came with PHP 7.0.

Everything else was provided by @psalm or @phpstan

From my PoV (person that reads internals, follows/votes on RFCs, etc.), there are almost zero feature additions that make newer PHP versions interesting.

Not justifying staying back: just noticed this.

saramg,
@saramg@fosstodon.org avatar

@ocramius @psalm @phpstan And people will still insist that upgrading is hard because the language is changing too fast. Sogh... :)

ocramius,
@ocramius@mastodon.social avatar

@saramg more like: "upgrading is hard because nobody writes automated software verification (tests)"

SenseException, German
@SenseException@phpc.social avatar

talks 10 years ago: "Use value objects instead of arrays."

PHP talks nowadays: "Use value objects instead of arrays."

klabauterjan,

@SenseException Everyone around me: still uses arrays instead of value objects 🥲

Crell,
@Crell@phpc.social avatar

@SenseException I blame popular libraries and frameworks that are still array-based. ( and AWS-SDK at the top of that list. , less than it used to be but still.) And people who cut their teeth on CodeIgnighter et al and never grew past that.

One of the many reasons I detest Laravel.

packagist,
@packagist@phpc.social avatar

👋 We're hiring a Senior Software Engineer in Berlin or remote! 💻 Build high-quality supply chain tools for thousands of devs in the PHP ecosystem 🐘 with the makers of Composer.

We're a small experienced remote team, deeply caring about our customers and the quality of our product. 🧑‍🤝‍🧑 Help us maintain and improve key infrastructure for hundreds of businesses! 🎉

https://packagist.com/about/careers/senior-software-engineer-1

naderman,
@naderman@phpc.social avatar

@MarkBaker @Skoop @packagist We already have someone working with us in the UK, and had someone in the Netherlands, I imagine in principle there'd be a way to still make this work via e.g. an EOR company in the respective location, so that shouldn't stop you!

derickr,
@derickr@phpc.social avatar

@MarkBaker @Skoop I've no excuse to own one, or wear one. :-(

phpc,
@phpc@phpc.social avatar

Reply to this thread with the folks to follow on the Fediverse!

heiglandreas,
@heiglandreas@phpc.social avatar
Skoop, (edited )
@Skoop@phpc.social avatar

@heiglandreas @phpc I would add to that list: @afilina , @OndrejMirtes , @rskuipers , @ieatkillerbees , @ramsey , @lornajane . And so many more. Hard to list them all

rubenaarts,
@rubenaarts@mastodon.social avatar

Yesterday @jrf_nl gives a great talk about PHP_CodeSniffer ( @phpcs ) at

She told us the importance of funding opensource projects and there is is not enough spoken about this. It was a critical warning that there are just a few people in the community where the hole community is depending on.

So lets talk more about how to support these great opensource projects.

itsjoshbruce,
@itsjoshbruce@phpc.social avatar

@jaapio @ProvenPudding: Got it. Cheers!

ProvenPudding,
@ProvenPudding@fosstodon.org avatar

@itsjoshbruce @jaapio Meeting rescheduled as agreed. CU!

ChristosArgyrop,
@ChristosArgyrop@mstdn.science avatar

I think I am 50% done finding a quadrafecta : a simultaneous hit piece against & .

This one only manages to trash talk and , so it has some ways to go.

https://stefanoborini.com/why-r-is-the-new-perl/

PS 1Gotta admit that the point about the object systems in R is somewhat spot on
PS 2 gets a dishonorable mention
PS3 I will continue to find ways to continue using all 4 of the aforementioned languages, as they are all performant and deliver in complementary ways.

BobOHara,

@ChristosArgyrop trash talking PERL is easy - even Larry Wall did it

ChristosArgyrop,
@ChristosArgyrop@mstdn.science avatar

@Edwardsmoon @mjgardner @BobOHara @bduncan sed and awk are now being taught as a cool skill for bioinformatics, which is kind of nuts because in the 90s #perl was the cool kid.

Girgias,
@Girgias@phpc.social avatar

I kinda need ideas for talks.

Do people want to know something particular about ?
Be that internals, documentation, whatever insanity or pet peeve that goes through my mind (although that feels more like a regular podcast segment).

I'm all ears! :)

bcremer,
@bcremer@phpc.social avatar
wyri,
@wyri@haxim.us avatar

@bcremer @derickr @edorian @Crell Thanks, that looks interesting, and a metric ton of changes

Girgias,
@Girgias@phpc.social avatar

Night rant because I can't sleep.

But I frankly wonder why I bother trying to improve the semantics of when it seems people don't give a fuck and just want crap not actually implemented in any sensible way, just so they can feel like they are working with a "real" programming.

It honestly tilts me that people want to make the language more inconsistent and shit just for some minor DX that one could achieve by building tooling in PHP.

heiglandreas,
@heiglandreas@phpc.social avatar

@Girgias I feel you!

But as always: Very vocal groups of people do not necessarily make up the majority. But the shit piled up by them makes one reconsider whether it's worth the sleepless nights.

I'd rather you could sleep at night! And I do value what you do for PHP! And that you try to make it a better language - at least for my definition of "better"

dgoosens,
@dgoosens@phpc.social avatar

@wyri @edorian @Girgias

I have no idea what has been said or written nor where...
but in the end that is not important

Your work, and of all the core devs, is much appreciated, valued and respected by all the devs I know

Maybe part of the problem is that we don't show enough how thankful we are...
If we did, maybe you would feel less frustrated by some of the BS you're pointing at

So
Thank you... thank you very much

edgren,

The more I'm thinking about it, the more I consider it.

I want to add a map for my bicycle rides, but I can't find any good PHP maps. The PHP versions of Leaflet on GitHub are no good. They don't work at all. They just gives you errors like "can't load class" or something like that.

So even if I am against it only to challenge myself, I consider using Leaflet in JS for airikr.me/biking.

Or do you have any solution in PHP that works out of the box?

edgren,

@derickr Haha, you mean it's too small/pixelated? 😄

derickr,
@derickr@phpc.social avatar

@edgren I meant the track missing a little at the top. But also that... A little pixelated too.

I might also decided to create my own mapstyle, especially if it's always just a tiny area of a country / city.

Remember I said there are always more things to tweak? 😅

schmaker,

Hello guys,

I'm getting process killed by killer lately and am not able to debug what and why is causing it, only thing i know at this moment is, that it seems to be related to worker (no other webpages are running at my VPS.

Errors in friendica.log and httpd.log are repeated over and over again, I have tons of these.

Friendica log```
2024-01-14T12:14:05Z worker [ALERT]: Fatal Error (E_ERROR): Allowed memory size of 268435456 bytes exhausted (tried to allocate 50348032 bytes) {"code":1,"message":"Allowed memory size of 268435456 bytes exhausted (tried to allocate 50348032 bytes)","file":"/srv/http/schmaker.eu/src/Database/Database.php","line":568,"trace":null} - {"file":null,"line":null,"function":null,"request-id":"65a3d00a94ba8","stack":"ErrorHandler::handleFatalError","uid":"0e21ff","process_id":524483}
2024-01-14T12:14:19Z app [NOTICE]: created item {"post-id":1746909,"uid":0,"network":"apub","uri-id":7056319,"guid":"52acf9cd-d5329c5bc33553a3-16fb1418"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d01b052b3","stack":"Item::insert (1172), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:19Z app [NOTICE]: created item {"post-id":1746910,"uid":2,"network":"apub","uri-id":7055024,"guid":"2cc3d87f-74a5bdcec9bb28f3-597a3200"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d01b052b3","stack":"Item::insert (1874), Item::storeForUser (1740), Item::storeForUserByUriId (1252), Processor::hasParents (1162), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:19Z app [NOTICE]: Inserted missing parent post {"stored":1746910,"uid":2,"parent":"https://mastodonczech.cz/users/mkyral/statuses/111754066555820024"} - {"file":"Processor.php","line":1255,"function":"hasParents","request-id":"65a3d01b052b3","stack":"Processor::hasParents (1162), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:19Z app [NOTICE]: created item {"post-id":1746911,"uid":2,"network":"apub","uri-id":7056319,"guid":"52acf9cd-d5329c5bc33553a3-16fb1418"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d01b052b3","stack":"Item::insert (1172), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:28Z app [NOTICE]: no data for session {"session_id":"918db4sbltu4uuboiu7vgir1u1","uri":"/robots.txt"} - {"file":"Database.php","line":78,"function":"read","request-id":"65a3d0247394c","stack":"Database::read, session_start (54), Native::start (150), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (92), DI::app (42)","uid":"21ebe6","process_id":521020}
2024-01-14T12:14:46Z app [NOTICE]: created item {"post-id":1746912,"uid":0,"network":"apub","uri-id":7056320,"guid":"f7dd981d-1265-a37e-95d3-45a258252183"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d0369bf29","stack":"Item::insert (1172), Processor::postItem (708), Processor::createActivity (843), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"ced645","process_id":511968}
2024-01-14T12:14:46Z app [NOTICE]: created item {"post-id":1746913,"uid":2,"network":"apub","uri-id":7056320,"guid":"f7dd981d-1265-a37e-95d3-45a258252183"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d0369bf29","stack":"Item::insert (1172), Processor::postItem (708), Processor::createActivity (843), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"ced645","process_id":511968}
2024-01-14T12:14:49Z app [NOTICE]: no data for session {"session_id":"0ahqk6onff097rtsfs76uk85vu","uri":"/profile/netvoyne?tag=Zaporozhye&page=7"} - {"file":"Database.php","line":78,"function":"read","request-id":"65a3d0395754d","stack":"Database::read, session_start (54), Native::start (150), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (92), DI::app (42)","uid":"28fdfc","process_id":521334}
2024-01-14T12:14:50Z app [NOTICE]: no data for session {"session_id":"f1176v7k02rugm0aqrpgo7l8eg","uri":"/display/c83e3896-1964-2eb2-f5bf-0c2147726828"} - {"file":"Database.php","line":78,"function":"read","request-id":"65a3d03a79379","stack":"Database::read, session_start (54), Native::start (150), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (92), DI::app (42)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php","line":46} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (46), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593), Conversation::render (278), Display::getDisplayData (165), Display::content (250), BaseModule::run (711), App::runFrontend (46)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":506} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (506), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":521} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (521), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":539} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (539), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":554} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (554), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":798} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (798), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":1103} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (1103), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":506} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (506), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":521} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (521), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":539} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (539), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":554} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (554), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":798} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (798), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":1103} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (1103), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":506} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (506), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":521} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (521), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":539} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (539), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":554} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (554), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":798} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (798), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}


  
httpd error log```
[Sun Jan 14 13:10:37.773690 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:10:37.773743 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:10:37.773791 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:10:37.773874 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:10:37.773940 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:10:37.773990 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:10:37.774111 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:10:37.774182 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:10:37.774240 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:10:37.774291 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:10:37.774364 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:10:37.774418 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:10:37.774531 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:10:37.774590 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:10:37.774642 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:10:37.774698 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:10:37.774762 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:10:37.774816 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:12:50.905457 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.910537 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.912046 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.913249 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.913974 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.914188 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.914399 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.915173 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.915418 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.915886 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:13:05.621887 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46
[Sun Jan 14 13:13:05.625511 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:13:05.625602 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:13:05.625659 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:13:05.625710 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:13:05.625798 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:13:05.625882 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:13:05.626226 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:13:05.626284 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:13:05.626352 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:13:05.626403 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:13:05.626497 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:13:05.626575 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
schmaker,

@roland Either server deffered the task or managed to get it through - last OOM kill was 3 hours ago

schmaker,

@roland So, just to close this case somehow - it seems like problem disappeared for now. Heaviest workers are sitting with max. 1-1,5GB RAM - I consider that normal when requests are limited to 1GB.

If it shows up again, I'll open bug report as that may be something harder to troubleshoot.

Once again, thanks guys

elazar,
@elazar@phpc.social avatar

I'm pretty sure I've had this thought before, but in , is there no efficient native way to find the first element in an array for which a callback returns true?

array_filter() and array_reduce() both iterate over all elements instead of stopping at the first match. The only alternative I've found is to use a foreach loop that returns the first match it finds. I'd think this would be a common enough need to warrant a core function, though, no?

dseguy,
@dseguy@phpc.social avatar

@elazar @Girgias @afup just to avoid future disappointment, it might remain on stage for a long time.
Thanks for the inspiration!

elazar,
@elazar@phpc.social avatar

@dseguy @Girgias @afup I appreciate that, thank you. Just happy to have contributed to the discussion. 😊

wyri,
@wyri@haxim.us avatar

So what is everyone writing these days using for mocks and spies?

beausimensen,
@beausimensen@phpc.social avatar

@wyri Thanks for putting that together, @lcobucci! This is pretty much exactly what I meant when I wrote “…when I've needed a spy I usually end up implementing it directly in the code.”

For all intents and purposes, I’d call this a spy. It’s sole purpose is to fulfill a contract and record how it’s called. I’ve occasionally shipped spy implementations alongside contracts to facilitate testing, but they usually end up in a Testing\ sub-namespace.

wyri,
@wyri@haxim.us avatar

@beausimensen @lcobucci Yup that's exactly what I needed in this situation, a spy, a way to look into it to know if expected calls were made and not care about the rest.

Thinking back, over the years, I probably need a spy most of the time and ended up adding mock calls that I didn't needed/cared for.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • mdbf
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • InstantRegret
  • everett
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • khanakhh
  • Durango
  • kavyap
  • ethstaker
  • megavids
  • anitta
  • modclub
  • osvaldo12
  • normalnudes
  • ngwrru68w68
  • GTA5RPClips
  • tacticalgear
  • provamag3
  • tester
  • Leos
  • cubers
  • JUstTest
  • lostlight
  • All magazines