PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 31, 2022

[FIXED] Symfony2 Classloader warning

 January 31, 2022     composer-php, php, symfony     No comments   

Issue

This warning shows up half of the time when the pages in the project load. So this doesn't show up on every page load. I have tried updating composer, cleared cache,etc. I have no idea why this started a month ago. I use Symfony 2.3.18, PHP 5.3.3-7

Warning: Attempt to assign property of non-object in /www/current/vendor/composer/ClassLoader.php on line 195

http://i.stack.imgur.com/ItjbX.png

[EDIT]

I also would like to note that in production this Error/Warning doesn't show.


Solution

We restarted Apache/PHP to clear the APC cache.



Answered By - user3442077
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing