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

Undefined index: uriParts in Routes.php:40 #4676

Closed
loqus opened this issue Jul 30, 2019 · 0 comments
Closed

Undefined index: uriParts in Routes.php:40 #4676

loqus opened this issue Jul 30, 2019 · 0 comments

Comments

@loqus
Copy link

loqus commented Jul 30, 2019

Description

I got an
Undefined index: uriParts in ...vendor/craftcms/cms/src/web/twig/variables/Routes.php:40
When accessing the routes configuration in the admin.
I couldn't figure out where this was coming from.

Steps to reproduce

  1. Go to settings/routes/ in admin
  2. Get error in screen
  3. Look at web.log

Additional info

  • Craft version: Craft Pro 3.2.7
  • PHP version: 7.2.20
  • Database driver & version: MySQL 5.5.60
  • Plugins & versions:

Feed Me | 4.1.1
Asset Usage | 2.0.1
Redactor | 2.3.3.2
Image Resizer | 2.0.5

possible solution for me (to show page again)

Was to add an if(isset($route['uriParts'])){} around
foreach ($route['uriParts'] as $part){}

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

1 participant