October 29, 2011 at 5:10 pm #6682
Hello, I’m getting this warning message when opening the template I created inside the BrightBox Template Builder
Warning: Invalid argument supplied for foreach() in /home/danielsami/nexosglobal.com/wp-content/themes/brightbox/framework/php/class-htmlhelper.php on line 933
I tried copying via ftp the original file to the server, to no avail.
The site is located at: http://www.nexosglobal.com. I can provide server access if needed.
Any help or clue to solve this will be greatly appreciated.
DanielOctober 31, 2011 at 3:26 pm #55080November 1, 2011 at 8:30 am #55081
this sounds like a database error which occured while saving. You can try to restore the database or reset the theme options (Reset all button on the bottom of the theme option panel). You’ll loose all your theme settings (not WP settings or content) though if you click this button.November 1, 2011 at 3:20 pm #55082
Problem solved, thank you!
We carefully took note of our settings, reset the Theme Options panel to default, and reset it back to our settings. The message on the Template Builder disappeared and everything is back to normal. We’re very pleased to work with Brightbox and plan to buy more of Kriese themes in the future.
DanielNovember 6, 2011 at 1:40 am #55083June 6, 2013 at 10:11 pm #55084
I have a whole bunch of page templates here (20+ – please don’t ask why, it was to solve a problem with sidebars and such) — if I reset the options, I lose all those templates. Is there any way to recover those easily after reseting?
THanks!June 21, 2013 at 3:28 pm #55088
Is there any way to fix this issue other than reseting the options? I work in a development environment and migrate over to the live site when changes are made. I cannot work this way with the site forever. Is there a code fix for the class-htmlhelper.php file?
BJune 24, 2013 at 12:28 pm #55089
You can try to restore the database with a backup file (sql file). You can use tools like phpmyadmin to import it. Unfortunately the templates are saved as serialized array and if the template data is damaged it’s nearly impossible to repair it by editing the option fields directly..August 9, 2013 at 9:00 pm #55090
This problem seemed to be remedied by using WP MIGRATE DB plugin, but for some reason, one day the error suddenly returned after not showing for a while.
Invalid argument supplied for foreach() in the class-htmlhelper.php file.
Is there any way to fix this code so that this error does not occur?? This problem is not helping my development process at all.August 10, 2013 at 3:45 am #55092
The topic ‘Problem in the BrightBox template builder.’ is closed to new replies.