Topic on Extension talk:Lingo

Fatal error: Call to undefined function Lingo\string()

5
Summary by F.trott

Fixed in SG 2.2.0/Lingo 2.0.3.

Kghbln (talkcontribs)

No on every access of a template or form page but quite often I get the following fatal:

Fatal error: Call to undefined function Lingo\string() in /.../w/extensions/Lingo/src/Element.php on line 166
Setup
  • MediaWiki 1.27.2 (1c409c5)01:42, 7 April 2017
  • PHP 5.6.30 (cgi-fcgi)
  • MySQL 5.6.28-76.1-log
  • Semantic MediaWiki 2.5.1 (568d058) 01:52, 22 April 2017
  • Semantic Glossary 2.1.0 (8b99684) 20:37, 27 March 2017
  • Lingo 2.0.2 (fa787aa) 21:30, 3 May 2017
F.trott (talkcontribs)

I'm surprised it does not break all the time. Should be fixed in master now.

Kghbln (talkcontribs)

No it did not and the pages were still accessible. However some regular pages totally fataled. Thanks a lot for the fix! Is there a way to get master in with Composer. @dev for Lingo and Semantic Glossary only gives me 2.0.2

F.trott (talkcontribs)

I think it should be safe to just do a git pull in the Lingo directory.

Kghbln (talkcontribs)

Done and the issue can no longer be observed. Cool! Once the next release is done I can still switch back to Composer.