After updating file entity to Ver 7.24 and then Media to 7.x-2.11 the following error is generated whenever saving theme configuration.
Fatal error: Call to undefined function theme1043_form_system_theme_settings_submit() in /home/user/public_html/foldername/includes/form.inc on line 1520
It's possible that the is related to module TM Block Background. The sites giving me these errors have both of these modules installed. But if I only disable TM Block Background I still get the error.
With Media enabled and TM Block Background disabled I get the following error when I go to configure a block and then save it.
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 175 of /home/user/public_html/foldername/includes/entity.inc).
I need TM Block Background for the theme region backgrounds but can not get it to work without errors since updating to Media 7.x-2.11
Comments
Comment #2
joseph.olstadYou are in luck, we worked hard figuring this one out in the past couple of months.
The solution requires you to run a related core patch in your case.
Related issue explains it:
#2884164-63: theme no longer behaves since upgrading from media <=2.0-alpha3
Here is the core patch you need.
#2900373: [D7] When a theme has a managed_file field and a submit callback, call to undefined function error is thrown.
See the media recipe that includes this patch and many installation details. http://drupal.org/node/2843391
Comment #3
joseph.olstadApply the related core patch and also review your installation compare with either the media_dev distribution configuration OR The media recipe as mentioned
Comment #4
ckoharj commentedThanks. The patch worked perfectly.
For a good laugh I opened a ticket with template Monster tech support thinking it could have been a code issue with TM Framework module and here was their reply.
"Thank you for reaching the Technical Department of Template-Help.com!
Unfortunately modules should not be updated. As it is required to use the original version, please revert the original module version included inside the package.
Best regards,
Technical Support Team"
Comment #5
joseph.olstadGreat news.
Ya you might want to inform template monster tech support that we solved the problem and that they should apply the core patch to their builds.
I would like very much for the core patch to make it into the next D7 core release also.
Urgent, could you please, please follow up with the D7 core issue and mention that this fix is very important?? And add comment rtbc+1 to #2900373: [D7] When a theme has a managed_file field and a submit callback, call to undefined function error is thrown.
Please this will help many others from pulling their eyes out if we can get this core patch in the next release
Comment #6
Michael-IDA commented> Ya you might want to inform template monster tech support that we solved the problem and that they should apply the core patch to their builds.
*snort*!
AFAIK, they bought all that from template-help.com. And, as, they're too lazy to remove "This template is made by template-help.com" from the .info files, it's a good laugh thinking they'll update anything ;)
Best Joel,
Michael
Comment #7
joseph.olstad@Michael-IDA , can you please put your feedback into:
#2900373: [D7] When a theme has a managed_file field and a submit callback, call to undefined function error is thrown.