Last modified: 2007-09-03 16:36:22 UTC
Created attachment 4035 [details] screen shot of error message MW version 1.10.0 SMW version 0.7 Problem enabling extension. Receive errors below when extension initializes in LocalSettings.php Warning: call_user_func_array() function.call-user-func-array: First argument is expected to be a valid callback, 'sfgLanguageGetMagic' was given in /usr/local/www/mediawiki-1.10.0/includes/Hooks.php on line 113 Warning: array_slice() function.array-slice: The first argument should be an array in /usr/local/www/mediawiki-1.10.0/languages/Language.php on line 1139
Created attachment 4038 [details] Patch to fix parser functions initialization issue. This is exactly what I solved with moving require_once($sfgIP . '/includes/SF_ParserFunctions.php'); outside of sfgSetupExtension() in SF_GlobalFunctions.php I had this problem with previous version as well.
Fixed in version 0.5.5, using Sergey's code.