-
PhunkieParticipant
When i try to select a template to edit with the Select-Field on top (other then the default 404-Template) the following warning is shown and the editor isn’t loading:
“Warning: Invalid argument supplied for foreach() in …/wp-content/themes/enlightenment/core/admin/template-editor.php on line 178”
Any idea what i could do? (I tried to start with a new empty MySQL-DB, and i reinstalled the Theme, but the error is still there…)
THX
CouplesKinkAdminParticipantI’m having the same issue and the formatting of posts that are already on my site has changed as well. Is there any fix for this? I’ve also tried deleting and reinstalling the theme but no luck yet.
ninopnatividadParticipantHi! I am encountering the same error every time I access the Template tab. Anyone has an idea on how to solve this one? Thank you.
morovParticipantI’m not an expert, but this problem seems related to what I indicated here:
https://www.onedesigns.com/support/topic/dropdown-menu-issue
is there any solution?webmasParticipantI have the error in Layout,Grids,Templates,Post Format section under Theme Options.
When i select an item in the dropdown menu it return at the first item of the selection menu.With version 1.1.0, 1.1.1, 1.1.2 on WordPress 4.1.2 these menus works correctly, but when upgrade at WP 4.2.1 the same versions have the problem.
Then i have downgraded my WordPress version at 4.1.2 to temporarily solve the problem.
NajafParticipantSame Problem!
When select other tempalte in the Template Tab, it appears:
Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\themes\enlightenment\core\admin\template-editor.php on line 178
Call Stack
# Time Memory Function Location
1 0.0000 232560 {main}( ) ..\themes.php:0
2 0.0000 276072 require_once( ‘D:\wamp\www\wordpress\wp-admin\admin.php’ ) ..\themes.php:10
3 0.5460 27083912 do_action( ) ..\admin.php:158
4 0.5772 27243632 call_user_func_array:{D:\wamp\www\wordpress\wp-includes\plugin.php:496} ( )
..\plugin.php:496
5 0.5772 27243688 enlightenment_theme_options_init( ) ..\plugin.php:496
6 0.5772 27245400 do_action( ) ..\init.php:88
7 0.5772 27246368 call_user_func_array:{D:\wamp\www\wordpress\wp-includes\plugin.php:496} ( )
..\plugin.php:496
8 0.5772 27246440 enlightenment_templates_settings( ) ..\plugin.php:496Any solutions?
NajafParticipantThis is a wonderful theme according to its own webpage. And it loooks much better than other themes and have a lot of customizable functions. However, this error makes it unusable.
I checked it again, in the Theme Option page, the function of Layouts, Grid Loop and Post formats are all not functional. What ever you choose to customize something in this three tabs, nothing happened, they simply go back to the first choice and stay there.
Please can anyone answer the question?
pauldwatsonParticipantI’m having the same issue. I’ve updated everything to the latest version.
Warning: Invalid argument supplied for foreach() in /home/americanchurch/public_html/wp-content/themes/enlightenment/core/admin/template-editor.php on line 178
bcr8tiveParticipantOh this is just great. I have this on a client site and the entire site is a mess.
Can’t edit the templates. Can’t do much of anything. Going to try to reverse back a version. SIGH!
CouplesKinkAdminParticipantHas anyone received any assistance or help with this issue. I’ve tried going back to a previous version of the theme and wp but I’m still experiencing this issue. It’s making many of my pages unusable and causing a few site wide issues. Is it just time to get another theme or is there a fix/workaround that I’m not aware of?
bcr8tiveParticipantCouplesKinkAdmin,
I don’t think anyone has received help with it yet – seems Daniel is still MIA – the last time he was here addressing issues was approximately a month ago –
I’m not sure why you would have reverted your WP back a version – that isn’t really safe –
I got rid of my issues by removing the theme and installing the previous version until Daniel gets time to address whatever happened.
Tagged: Template Error
You must be logged in to reply to this topic.