Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "autoloader"
-
Completely losing my shit over a 'class Predis\Autoloader already defined' error.
Just noticed that I already created the object five lines up
How fucking retarded am I?! I mean, I've been debugging this for a WHOLE FUCKING HOUR.
Let's just blame it on the alcohol 😅7 -
The security blog is up again, I fixed the bug.
Just wondering, why did it work in the first place? I simply required a composer autoloader twice but I've been doing that from the beginning and it didn't play up until last night...
I guess it shall remain a mistery 😞82 -
I just wanted to create a small website using PHP MVC... Hahaundefined autoloader namespace dependencies toomanysubjects singleton php mvc configuration dispatcher fuckthisshit2
-
I fucking hate web development and fuckton of issues it has. Laravel library not found despite the files exists and composer loaded it in the autoloader, fix: create a config file for the lib, why? Because magic. The code cannot find the provider class without it....
Next, try out smtp mail. Works everywhere, but not with the live smtp server. Fails with Invalid recipients error. 2 hours later, with half of my hair torn out I finally figured out. Can you guess?
Credentials and settings are correct, recipients are also correct. The fucking from address parameter was the culprit because you cannot send emails on behalf another address, logical but fuck that error message. Why is it that hard to respond with an understandable response?2 -
"- Hello I work on this shitty Drupal project where the vendor directory is gitted, and we can't use composer becauses it returns error [note: i wish this was a joke]. So I installed a module that won't work, because it needs a depency. I installed it but it still doesn't work
- You need to edit your autoloader
- Ok, what do I put in it?
- Idk, you're not supposed to do it, and let composer do it for you"
Did I ever tell you how the Drupal stack exchange will one day make me turn into a serial killer? -
Trying to make sense of the Zend Framework 1 MVC autoloader. Oh how much would I pay even for it to be PSR-0.2