moodle-an-hochschulen / moodle-theme_boost_union

Theme Boost Union is an enhanced child theme of Boost which is intended, on the one hand, to make Boost simply more configurable and, on the other hand, to provide helpful additional features for the daily Moodle operation of admins, teachers and students.
GNU General Public License v3.0
61 stars 56 forks source link

Boost Union has broken my website. #510

Closed paulUDIS closed 9 months ago

paulUDIS commented 9 months ago

I was trying to upgrade my website with the Boost Union theme. I was at 4.2r6. I would not install from within Moodle but kept getting an error so I thought that I would up upgrade it step by step. I got up to 4.2r15 and my site has been locked, Here is the error. 'Exception - Too few arguments to function navigation_node::title(), 0 passed in [dirroot]/lib/mustache/src/Mustache/Context.php on line 219 and exactly 1 expected' How can I uninstall this theme and unbreak my site?

abias commented 9 months ago

Hi @paulUDIS ,

I am sorry to read that Boost Union might have broken your site. The error message which you have posted might be related to Boost Union, but we can't be sure before you give us some more information about the settings which you have made within Boost Union.

To help you to mitigate this issue and get your site running again, you can use the Moodle CLI.

With this command, you will switch the active theme back to Boost:

php admin/cli/cfg.php --name=theme --set=boost

And with these two commands, you will remove the Boost Union plugin from your setup:

php admin/cli/uninstall_plugins.php --plugins=theme_boost_union --run
rm -rf theme/boost_union
php admin/cli/upgrade --non-interactive

Both commands should be executed from the root directory of your Moodle installation.

I hope this helps.

abias commented 9 months ago

Hi @paulUDIS ,

I hope that you were able to solve your problem. I will close this issue now.

However, if you can provide more information about your configuration and the issue which you encountered, we can have a closer look.

Cheers, Alex

paulUDIS commented 9 months ago

My apologies Alex Christmas was a bit crazy. Yes I managed to fix the problem. I tried the commands you gave me but it wouldn't let me uninstall it. I finally got it to do so and am reinstalling it now. What prompted it was that moodle looked for upgrades and it said there was one for boost union but no matter what I did it wouldn't do anything. I just downloaded the newest version and it said I needed to upgrade my moodle (I am at Moodle 4.2+ (Build: 20230504). This version of boost union worked. theme_boost_union_moodle41_2023010530. Thanks for you help and I will earmark the plugin for upgrades when I install the next build. Thank you for your help and Merry Christmas and a Happy New Year Paul

On Wed, 27 Dec 2023 at 17:24, Alexander Bias @.***> wrote:

Hi @paulUDIS https://github.com/paulUDIS ,

I hope that you were able to solve your problem. I will close this issue now.

However, if you can provide more information about your configuration and the issue which you encountered, we can have a closer look.

Cheers, Alex

— Reply to this email directly, view it on GitHub https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/issues/510#issuecomment-1870164394, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3O5ZRKDSDZABOG2C222HSTYLPZPBAVCNFSM6AAAAABBARGLBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGE3DIMZZGQ . You are receiving this because you were mentioned.Message ID: <moodle-an-hochschulen/moodle-theme_boost_union/issues/510/1870164394@ github.com>

paulUDIS commented 9 months ago

Mmmm I spoke too soon. When switching to the theme I get Exception - Too few arguments to function navigation_node::title(), 0 passed in [dirroot]/lib/mustache/src/Mustache/Context.php on line 219 and exactly 1 expected. Should I go and open a new issue? Paul

On Fri, 29 Dec 2023 at 08:00, Paul Surbey @.***> wrote:

My apologies Alex Christmas was a bit crazy. Yes I managed to fix the problem. I tried the commands you gave me but it wouldn't let me uninstall it. I finally got it to do so and am reinstalling it now. What prompted it was that moodle looked for upgrades and it said there was one for boost union but no matter what I did it wouldn't do anything. I just downloaded the newest version and it said I needed to upgrade my moodle (I am at Moodle 4.2+ (Build: 20230504). This version of boost union worked. theme_boost_union_moodle41_2023010530. Thanks for you help and I will earmark the plugin for upgrades when I install the next build. Thank you for your help and Merry Christmas and a Happy New Year Paul

On Wed, 27 Dec 2023 at 17:24, Alexander Bias @.***> wrote:

Hi @paulUDIS https://github.com/paulUDIS ,

I hope that you were able to solve your problem. I will close this issue now.

However, if you can provide more information about your configuration and the issue which you encountered, we can have a closer look.

Cheers, Alex

— Reply to this email directly, view it on GitHub https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/issues/510#issuecomment-1870164394, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3O5ZRKDSDZABOG2C222HSTYLPZPBAVCNFSM6AAAAABBARGLBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGE3DIMZZGQ . You are receiving this because you were mentioned.Message ID: <moodle-an-hochschulen/moodle-theme_boost_union/issues/510/1870164394@ github.com>