Jump to content

Fieldtype Select External Option


kixe
 Share

Recommended Posts

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

  • 4 weeks later...
  • 1 month later...
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.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...