Kiwi Chris Posted March 25, 2021 Share Posted March 25, 2021 With latest stable or later version of ProcessWire, PHP 7.4x I'm getting error: Call to a member function getDefault() on null 841: $langName = $this->wire('languages')->getDefault()->name; I don't have multi-language support installed so I'm not sure if this has anything to do with it? Link to comment Share on other sites More sharing options...
Klenkes Posted April 17, 2021 Share Posted April 17, 2021 @kixe Thank you for this module! It saved me countless hours(probably days) of pain. 2 Link to comment Share on other sites More sharing options...
markus_blue_tomato Posted April 20, 2021 Share Posted April 20, 2021 If anyone needs this field in ProcessGraphQL, I built a support module for it: https://github.com/blue-tomato/GraphQLFieldtypeSelectExtOption 1 Link to comment Share on other sites More sharing options...
kixe Posted May 20, 2021 Author Share Posted May 20, 2021 On 3/25/2021 at 2:35 AM, Kiwi Chris said: With latest stable or later version of ProcessWire, PHP 7.4x I'm getting error: Call to a member function getDefault() on null 841: $langName = $this->wire('languages')->getDefault()->name; I don't have multi-language support installed so I'm not sure if this has anything to do with it? Thanks. fixed. 1 Link to comment Share on other sites More sharing options...
hellomoto Posted November 16, 2021 Share Posted November 16, 2021 This is great Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now