Support the ongoing development of Laravel.io →

3,383 Threads

laravel compiled file error PHP Parse error: syntax error, unexpected '\\Session;', expecting \\\\ (T_NS_SEPARATOR)

I have a laravel project in production server but I have a weird problem, sometimes appear a white s...

0 Likes
0 Replies

laravel installation using composer

why there is this error while running composer to install laravel PHP Warning: PHP Startup: Unable...

0 Likes
0 Replies

Lumen - set different hostname for Session and Cache settings in Memcached server

we have a very high volume traffic site deployed in multiple bare-metal severs, we have 3 web server...

0 Likes
0 Replies

Is there a way to parse code for language keys?

Hi, I am using Laravel4 for the first time and now I have to decide how to implement multilanguage f...

0 Likes
6 Replies
Solved

Cannot route post request

Hello everyone! I am getting an error when I use post request. Here is the code: http://laravel.io/b...

0 Likes
1 Replies

Hosting many mostly static sites, how to approach serving them?

So i host a lot of small business sites from my web practice over the years (hundreds). Right now I...

0 Likes
4 Replies

caching tips (not doing but placement/organisation)

Ok so i have started caching queries in different places but this has resulted in me remembering to...

0 Likes
2 Replies

Concrete classes stored in DB

Hey Laravellers. I'll get straight to the point: I currently have a inherited a project whereby I ha...

0 Likes
1 Replies

CURL and Facades

Hi all, I need to build a webservice between two laravel applications. APP1 (local IP 127.0.1.1 and...

0 Likes
0 Replies

Must be an instance of Illuminate\Redis\Database, instance of Redis given

Clean install of the latest Laravel 5.1.10 is spitting out this error when cache=redis in the config...

0 Likes
2 Replies
posted 9 years ago

deleteDirectory not working as Cron job

Hi Folks, I have a job which I want cron to run at given interval , this removes some old entries fr...

0 Likes
2 Replies

Laravel Cartalyst Cart error while installing via composer

There are my composer requires "require": { "php": ">=5.5.9", "...

0 Likes
0 Replies

Can I automate the laravel installation process?

Is there a way I can install Laravel with a custom script or another Laravel iteself? How can I run...

0 Likes
2 Replies

Not able to configure whmcs in laravel 5

I am trying to configure whmcs in laravel 5 by following https://github.com/mgufrone/whmcs-api . Whe...

0 Likes
0 Replies

Erro: SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9)

Sorry my bad English... In my vagrant debian virtual machine show error on connect sqlsrv database E...

0 Likes
0 Replies

Serve CSS and JS from outside of public folder

I understand this sort of breaks the structured point of Laravel, but there is method to my madness....

0 Likes
0 Replies

Homestead: How to bind default ports only locally?

Hey there, is it possible to change the binding of Homesteads forwarded default ports to loopback in...

0 Likes
1 Replies

Help getting new install of l4 to work

Hello everyone. I'm trying to install laravel but I have no succes. Technical: I've downloaded a LAM...

0 Likes
4 Replies
Solved
posted 8 years ago

Non-static method App\Curl\CurlService::to() should not be called statically, assuming $this from incompatible context

I 've created the facade class Curl, I put folder Curl in app/ folder "autoload": {...

0 Likes
0 Replies

Override default json data name

Hey, I'm wondering if there's a quick way of over-riding the data array in a json reponse. For examp...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.