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

ReflectionException #1

Closed
flaviozantut opened this issue Jan 11, 2013 · 7 comments
Closed

ReflectionException #1

flaviozantut opened this issue Jan 11, 2013 · 7 comments

Comments

@flaviozantut
Copy link
Contributor

In PHP5.4.9 all controllers get this error:
ReflectionException: Class TestController does not exist

But in PHP5.4.8 the same code runs successfully

@taylorotwell
Copy link
Member

That's odd. Any relevant bugs on PHP issue tracker?

On Jan 10, 2013, at 7:41 PM, flaviozantut [email protected] wrote:

In PHP5.4.9 all controllers get this error:
ReflectionException: Class TestController does not exist

But in PHP5.4.8 the same code runs successfully


Reply to this email directly or view it on GitHub.

@flaviozantut
Copy link
Contributor Author

The problem was that the composer was not recreating autoloads files, changed permissions and now everything is Okay

@taylorotwell
Copy link
Member

OK cool.

@christianramsey
Copy link

Which permissions were changed?

@vinaydotblog
Copy link

Even after regenerating files `composer dump-autoload' it's not working.

taylorotwell pushed a commit that referenced this issue Oct 2, 2014
taylorotwell pushed a commit that referenced this issue Dec 16, 2014
Update QueryBuilder test per changes to exists()
woenel added a commit to woenel/framework that referenced this issue Apr 26, 2023
This PR adds `(string)` cast to the value of `mb_strtolower` to fix the following deprecation error from PHP when null is passed:

```
mb_strtolower(): Passing null to parameter laravel#1 ($string) of type string is deprecated in vendor/laravel/framework/src/Illuminate/Support/Str.php on line 508
```

So existing logic that use `Str::lower(config('example.can_be_null')) === 'not_null'` still works and don't throw deprecated error.
maddios pushed a commit to maddios/framework that referenced this issue Jul 13, 2023
This change will allow us to use ResilientStreamHandler from utilties…
gonzalom pushed a commit to Hydrane/tmp-laravel-framework that referenced this issue Oct 12, 2023
Sort Application use statements alphabetically (after sorting by length)
gonzalom pushed a commit to Hydrane/tmp-laravel-framework that referenced this issue Oct 12, 2023
gonzalom pushed a commit to Hydrane/tmp-laravel-framework that referenced this issue Oct 12, 2023
gonzalom pushed a commit to Hydrane/tmp-laravel-framework that referenced this issue Oct 12, 2023
laravel.WARNING: trim(): Passing null to parameter laravel#1 ($string) of type string is deprecated in /srv/api/vendor/laravel/lumen-framework/src/Routing/Router.php on line 151
DeanWunder pushed a commit to DeanWunder/framework that referenced this issue Dec 3, 2023
DeanWunder pushed a commit to DeanWunder/framework that referenced this issue Dec 5, 2023
Xint0 pushed a commit to Xint0/laravel-framework that referenced this issue Dec 22, 2023
Return false when $value is null.

Avoid TypeError: json_validate(): Argument laravel#1 ($json) must be of type string, null given, when using symfony/polyfill-php83 in PHP < 8.3.

Avoid deprecation warning: json_validate(): Passing null to parameter laravel#1 ($json) of type string is deprecated, when using PHP 8.3.
taylorotwell pushed a commit that referenced this issue Dec 23, 2023
…#49474)

* test: validateJson should return false when value is null

Fails with Laravel Framework 10.38.2 in PHP < 8.3, introduced in #49413

* fix: validateJson should return false when value is null

Return false when $value is null.

Avoid TypeError: json_validate(): Argument #1 ($json) must be of type string, null given, when using symfony/polyfill-php83 in PHP < 8.3.

Avoid deprecation warning: json_validate(): Passing null to parameter #1 ($json) of type string is deprecated, when using PHP 8.3.

---------

Co-authored-by: Rogelio Jacinto <[email protected]>
Thiritin referenced this issue Mar 13, 2024
* Rehash user passwords when validating credentials

* Fix style violations

* Remove hardcoded password when it's changable

* Shift rehashing into SessionGuard

The Session guard's attempt() method is a better place to apply
rehashing than the validateCredentials() method on the provider.
The latter shouldn't have side-effects, as per it's name.

* Fix style violation

* Add config option to disable rehashing on login

* Clean up rehash flag injection

* Fix contract in DatabaseUserProvider

* Fixing return type in the docblocks

* Use hash_equals() for a secure string comparison

* formatting

* formatting, leverage method on logoutOtherDevices

* Fix spelling of passwords

Co-authored-by: Chrysanthos <[email protected]>

---------

Co-authored-by: Taylor Otwell <[email protected]>
Co-authored-by: Chrysanthos <[email protected]>
KIKOmanasijev added a commit to KIKOmanasijev/framework that referenced this issue Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants