vanilophp / framework

The truly Laravel E-commerce Framework
https://vanilo.io
MIT License
818 stars 102 forks source link

Call to undefined function str_singular() #61

Closed SiCoUK closed 4 years ago

SiCoUK commented 4 years ago

When viewing a category (taxonomy) to edit the tree and undefined function error occurs. It appears this file still uses a deprecated Laravel helper feature str_singular().

File: vendor\vanilo\framework\src\resources\views\taxonomy\show.blade.php Line: 28

I've just started to look at the demo so don't know how you have migrated away from these functions.

It also appears in the following files, mainly related to the taxonomy. https://github.com/vanilophp/framework/search?q=str_singular%28&unscoped_q=str_singular%28

SiCoUK commented 4 years ago

Looking around a bit more I'm not sure it's even needed as the category name is what the admin wants it to be, there is no need to change it.

fulopattila122 commented 4 years ago

Thanks for the report! :bowing_man:

Update vanilo/framework with composer to version 1.1.1 to get this bug fixed.