Topic on Project:Support desk

[SOLVED] Fatal error: Cannot instantiate abstract class Profiler in /usr/share/mediawiki/includes/profiler/Profiler.php on line 83 (MW 1.25.1)

2
Andreas Plank (talkcontribs)

Hi,

I upgraded from MW 1.24.2 to 1.25.1 (from http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_13.2/)

sudo -u wwwrun php ./maintenance/update.php --quick --conf ./LocalSettings.php did run smoothly and I had to reinstall some composer managed extensions. No errors so far. But trying to run the wiki on my computer prints out

Fatal error: Cannot instantiate abstract class Profiler in /usr/share/mediawiki/includes/profiler/Profiler.php on line 83

I then tried to narrow down the source of failure, if this may have any relation to my LocalSettings.php, so I deactivated all extensions and settings, only rudimentary wg-variables were active. I even removed my installed composer extensions using /usr/bin/composer.phar remove --update-with-dependencies 'mediawiki/semantic-media-wiki' (etc. for all my composer managed extensions) to check if this fatal error is related but no success. The same fatal error remains.

Any tip, solution or fix? Thank you.

Andreas Plank (talkcontribs)

The solution was to remove an old file StartProfiler.php (see Manual:Profiling, in MW 1.25 profiling was completely rewritten)

Reply to "[SOLVED] Fatal error: Cannot instantiate abstract class Profiler in /usr/share/mediawiki/includes/profiler/Profiler.php on line 83 (MW 1.25.1)"