I have upgraded my Wiki to 1.35. Installed Math Extension and set following settings at my LocalSettings file:
wfLoadExtension( 'Math' ); $wgDefaultUserOptions['math'] = 'mathml'; $wgMathFullRestbaseURL = 'https://en.wikipedia.org/api/rest_';
1) After that I go to any page with math formula I see the error on the top:
Warning: Use of undefined constant CURLMOPT_MAX_HOST_CONNECTIONS - assumed 'CURLMOPT_MAX_HOST_CONNECTIONS' (this will throw an Error in a future version of PHP) in /var/www/u0402490/data/www/mysite/includes/libs/http/MultiHttpClient.php on line 448 Warning: curl_multi_setopt() expects parameter 2 to be int, string given in /var/www/u0402490/data/www/mysite/includes/libs/http/MultiHttpClient.php on line 448 Warning: Use of undefined constant CURLMOPT_MAX_HOST_CONNECTIONS - assumed 'CURLMOPT_MAX_HOST_CONNECTIONS' (this will throw an Error in a future version of PHP) in /var/www/u0402490/data/www/mysite/includes/libs/http/MultiHttpClient.php on line 448 Warning: curl_multi_setopt() expects parameter 2 to be int, string given in /var/www/u0402490/data/www/mysite/includes/libs/http/MultiHttpClient.php on line 448
but math formulas are displayed at the same time. If I refresh the page, the error disappears and never returns.
If I create page with Math formula in Wiki editor and click "Preview" I also see this error, but math formula is shown. I see the same error at: Special:MathStatus. And at this all tested well except this: Comparing the generated SVG with the reference failed
When I use VisualEditor to insert math formulas - all works perfect.
Could you please let me know why I have this error and how can I fix it?