XF 2.2 Fatal error: Method XF\Phrase::__toString() after uninstalling addon


Dear Friends,

I'm developing an addon, and I wanted to test the uninstall/install process. Unter the admin dashboard-> addons -> my addon, I clicked on uninstall.

The uninstall process worked well, the addon was uninstalled, the tables removed, so far so good.

The frontend works as usual, but now when navigating to the admin dashboard, the following error is displayed:

Fatal error: Method XF\Phrase::__toString() must not throw an exception, caught ParseError: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /vagrant_xenforo/src/XF.php on line 0

I tried to rebuild the master data using the command line tool, rebuild caches, but nothing worked. Really I don't have any idea what I'm doing.

Is this a problem in my (now uninstalled) addon, or something else?

Thanks in advance.

Ps: this happened on my development machine not on a real forum.
Last edited:
After starting again my virtual machine today, the error is gone.

I understand nothing.

Someone understands what was going on?
Top Bottom