this routeNotificationFor() method. Laravel docs list this kind of method for when using
Naumanz started a new conversation Undefined Method RouteNotificationFor While Saving Notification To Database
I am trying to save a notification in database with
Laravel 5.4. And It gives
BadMethodCallException in Builder.php line 2443: Call to undefined method Illuminate\Database\Query\Builder::routeNotificationFor()
While below is my Notification class. What could be the possible problem ?
Hi @Snapey , Yes it is also for all make commands. I am new to Laravel. Can you please explain this a bit more.
Also Asked on StackOverflow http://stackoverflow.com/questions/43884202/laravel-artisan-make-command-issue
I am trying to make a middleware using artisan " php artisan make:middleware AuthorizedUserOnly" but I get ErrorException like below.
file_get_contents(/mysite.com/www/local/composer.json) Failed to open stream no such file or directory.
This is my document root.
-local -Laravel application folders -index.php -composer.json .htaccess
I changed my directory structure to work with shared hosting. And It was working fine.
artisancommands work. Like I tried php artisan route:list & php artisan config:cache & php artisan tinker.
What could be the possible issue and solution ?
How do I configure vagrant to automatically provide username/password for Homestead VM ? When I execute the command vagrant up. It ends saying 'Timed out for waiting the machine to boot'.
I enable gui from Vagrant file and see that it is requiring username & password to login to homestead. Providing username and password (vagrant) it logs in.
My question is, Is there a way to configure vagrant to automatically supply these credentials ?
I just moved my laravel application files to server. Speficially, that is laravel 5.2 which requires PHP version >= 5.5.9. I am trying to run the composer update command using PuTTy. It lists my PHP version as 5.4.43 while the Phpinfo shows this to be above 5.6. Ofcourse the composer update command fails.
What could be the possible reason ?
Yes app environment & url updated accordingly in config/app.php
I've working instance of the app at localhost. Uploaded everything using FileZilla and somehow it's missing something. No failed transfers in Filezilla also . Hope to fix the issue soon.
@jlrdw , Thanks for taking time to reply. But actually I had the app working correctly when I first installed it few days back. I uploaded recent code to the site and it goes down. Tells that there is nothing like .htaccess & folder strucutres as some are suggesting. Error log says something missing . But I uploaded every single file how come it is working on local machine and not on server.
Hi, I just moved my laravel app to my hosting server from localhost. I am getting Http 500 error. I've checked with my error logs it shows something like this.
PHP Fatal error: Call to undefined function Illuminate\Support\value() in /home7/preparn0/public_html/local/vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 168
Everything works fine on my local machine.