Deprecated: Function create_function() is deprecated in /var/html/dev/wp/wp-content/plugins/adrotate/adrotate.php on line 58 Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/load.php on line 649 Notice: Trying to access array offset on value of type bool in /var/html/dev/wp/wp-includes/theme.php on line 2246 Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340 Warning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/bbpress/includes/replies/functions.php on line 2303 Warning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/bbpress/includes/replies/functions.php on line 2304 PHP-Warning when using Theme Options / Template Editor – One Designs https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/feed Sun, 16 Mar 2025 10:37:49 +0000 https://bbpress.org/?v=2.6-rc-6535 en-US Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 2432 Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/forum/theme-support/enlightenment/#post-21085 <![CDATA[PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/forum/theme-support/enlightenment/#post-21085 Fri, 24 Apr 2015 14:21:44 +0000 Phunkie 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

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21088 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21088 Fri, 24 Apr 2015 20:01:59 +0000 CouplesKinkAdmin I’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.

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21134 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21134 Sat, 02 May 2015 05:33:38 +0000 ninopnatividad Hi! 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.

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21135 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21135 Sat, 02 May 2015 11:12:25 +0000 morov I’m not an expert, but this problem seems related to what I indicated here:

dropdown menu issue


is there any solution?

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21136 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21136 Sat, 02 May 2015 11:19:45 +0000 webmas I 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.

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21143 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21143 Sun, 03 May 2015 22:48:53 +0000 Najaf Same 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:496

Any solutions?

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21151 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21151 Mon, 04 May 2015 20:51:28 +0000 Najaf This 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?

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21199 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21199 Sat, 09 May 2015 13:07:06 +0000 pauldwatson I’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

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21206 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21206 Sat, 09 May 2015 19:07:12 +0000 bcr8tive Oh 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!

]]>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21254 <![CDATA[Reply To: PHP-Warning when using Theme Options / Template Editor]]> Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371 https://dev.onedesigns.com/support/topic/php-warning-when-using-theme-options-template-editor/#post-21254 Thu, 14 May 2015 14:44:17 +0000 CouplesKinkAdmin Has 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?

]]>