When trying to save any changes in myrestaurant.com/admin/appearance/settings/sizzle the following error occurs:

Fatal error: Call to undefined function restaurant_radix_form_variable_realm_variable_theme_form_submit() in /home/deboezer/public_html/restaurant2/includes/form.inc on line 1519

Changes are not saved and WSOD appears.

Comments

eljay created an issue. See original summary.

shadcn’s picture

Title: Sizzle problem » Call to undefined function restaurant_radix_form_variable_realm_variable_theme_form_submit

We just pushed a fix for this. Here's how you can test (since there is no official release yet):

  1. Download and extract the development version for restaurant_radix to /home/deboezer/public_html/restaurant2/profiles/restaurant/themes: https://ftp.drupal.org/files/projects/restaurant_radix-7.x-1.x-dev.tar.gz
  2. Download and extract the development version for sizzle to /home/deboezer/public_html/restaurant2/profiles/restaurant/themes: https://ftp.drupal.org/files/projects/sizzle-7.x-1.x-dev.tar.gz
  3. Clear the site cache.
  4. Visit the settings page: /admin/appearance/settings/sizzle.
  5. Test.

Let me know if this works. We'll tag a new release soon.

eljay’s picture

Thank you for the fast solution. I followed your instructions and tried to clear the cache, however I got the following error: Fatal error: Call to undefined method panels_display::__set_state() in /home/deboezer/public_html/restaurant2/profiles/restaurant/modules/contrib/features/features.export.inc(748) : eval()'d code on line 135

the same error appears when trying to edit the footer or one of the texts in the footer.

Next to that, when trying to edit the text (using the cog) I'm immediately brought to the Sizzle settings page where no such changes can be made (anymore).
In the settings page one can also see the Bartik theme although it is not visible in the list.

HyperD’s picture

I confirm this issue occurs.

To SOLVE this (temporary solve the initial issue), you need to modify the CORE .. which is a very bad practice but temporary solves the issue:

I fount this pseudo-solution at https://www.drupal.org/node/1947560

CORE take the file /includes/form.inc
find these lines

    else {
      $function($form, $form_state);
    }

Add the following line

	if ($function != 'restaurant_radix_form_variable_realm_variable_theme_form_submit')

so that the final result is

    else {
	if ($function != 'restaurant_radix_form_variable_realm_variable_theme_form_submit')
      $function($form, $form_state);
    }

Remember to make always this modification every time you update Drupal, till the moment the developers here will come up with a real solution

shadcn’s picture

Hold on, think I have a solution for this. Pushing.

shadcn’s picture

Status: Active » Fixed

This is fixed in the latest dev. The restaurant_radix theme does not need any theme-settings.php. New release coming up soon.

eljay’s picture

I don't think it is fixed. Check out www.deboezeroen.com and scroll towards the bottom. You'll still see the error.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.