owncloud-archive / maps

:globe_with_meridians: Maps app for ownCloud
GNU Affero General Public License v3.0
42 stars 20 forks source link

Log error message »The hardcoded value you are using is deprecated« #94

Closed jancborchardt closed 8 years ago

jancborchardt commented 8 years ago
{"reqId":"wf70aZ529kJWxl1EPiS0","remoteAddr":"127.0.0.1","app":"PHP","message":"The hardcoded value you are using for the $referenceType argument of the Symfony\\Component\\Routing\\Generator\\UrlGenerator::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. at \/home\/jan\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php#147","level":0,"time":"2015-12-30T15:30:16+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/maps\/search?search=berlin&bbox=12.943267822265625%2C52.25218673968776%2C13.932037353515625%2C52.7570743573754"}
{"reqId":"wf70aZ529kJWxl1EPiS0","remoteAddr":"127.0.0.1","app":"PHP","message":"The hardcoded value you are using for the $referenceType argument of the Symfony\\Component\\Routing\\Generator\\UrlGenerator::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. at \/home\/jan\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php#147","level":0,"time":"2015-12-30T15:30:16+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/maps\/search?search=berlin&bbox=12.943267822265625%2C52.25218673968776%2C13.932037353515625%2C52.7570743573754"}
{"reqId":"wf70aZ529kJWxl1EPiS0","remoteAddr":"127.0.0.1","app":"PHP","message":"The hardcoded value you are using for the $referenceType argument of the Symfony\\Component\\Routing\\Generator\\UrlGenerator::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. at \/home\/jan\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php#147","level":0,"time":"2015-12-30T15:30:16+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/maps\/search?search=berlin&bbox=12.943267822265625%2C52.25218673968776%2C13.932037353515625%2C52.7570743573754"}
{"reqId":"wf70aZ529kJWxl1EPiS0","remoteAddr":"127.0.0.1","app":"PHP","message":"The hardcoded value you are using for the $referenceType argument of the Symfony\\Component\\Routing\\Generator\\UrlGenerator::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. at \/home\/jan\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php#147","level":0,"time":"2015-12-30T15:30:16+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/maps\/search?search=berlin&bbox=12.943267822265625%2C52.25218673968776%2C13.932037353515625%2C52.7570743573754"}
{"reqId":"wf70aZ529kJWxl1EPiS0","remoteAddr":"127.0.0.1","app":"PHP","message":"The hardcoded value you are using for the $referenceType argument of the Symfony\\Component\\Routing\\Generator\\UrlGenerator::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead. at \/home\/jan\/owncloud\/3rdparty\/symfony\/routing\/Generator\/UrlGenerator.php#147","level":0,"time":"2015-12-30T15:30:16+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/maps\/search?search=berlin&bbox=12.943267822265625%2C52.25218673968776%2C13.932037353515625%2C52.7570743573754"}
{"reqId":"wf70aZ529kJWxl1EPiS0","remoteAddr":"127.0.0.1","app":"PHP","message":"Attempt to assign property of non-object at \/home\/jan\/owncloud\/apps\/maps\/controller\/pagecontroller.php#199","level":0,"time":"2015-12-30T15:30:16+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/maps\/search?search=berlin&bbox=12.943267822265625%2C52.25218673968776%2C13.932037353515625%2C52.7570743573754"}
v1r0x commented 8 years ago

@jancborchardt I could not reproduce it. When did you get this error?

jancborchardt commented 8 years ago

I guess this might be a problem with ownCloud core then, not sure though. @LukasReschke @DeepDiver1975 have you seen this issue?

LukasReschke commented 8 years ago

No. Does it appear when you visit a specific URL? Seems like we have some code path that we should fix in core.

LukasReschke commented 8 years ago

Caused by https://github.com/owncloud/3rdparty/pull/234, core issue. Will prepare PR.