{"action":"created","issue":{"url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2113","labels_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2113/labels{/name}","comments_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2113/comments","events_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2113/events","html_url":"https://github.com/reduxframework/redux-framework/issues/2113","id":60222450,"number":2113,"title":"Customizer Issue: Fatal Error when save_defaults set to false.","user":{"login":"towfiqi","id":1926614,"avatar_url":"https://avatars.githubusercontent.com/u/1926614?v=3","gravatar_id":"","url":"https://api.github.com/users/towfiqi","html_url":"https://github.com/towfiqi","followers_url":"https://api.github.com/users/towfiqi/followers","following_url":"https://api.github.com/users/towfiqi/following{/other_user}","gists_url":"https://api.github.com/users/towfiqi/gists{/gist_id}","starred_url":"https://api.github.com/users/towfiqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towfiqi/subscriptions","organizations_url":"https://api.github.com/users/towfiqi/orgs","repos_url":"https://api.github.com/users/towfiqi/repos","events_url":"https://api.github.com/users/towfiqi/events{/privacy}","received_events_url":"https://api.github.com/users/towfiqi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-07T20:14:51Z","updated_at":"2015-03-07T20:21:13Z","closed_at":null,"body":"@dovy When You set save_defaults to false and the options are not saved in db yet, You click on Appearance> Customizer and You get this:\r\n\r\nFatal error: Maximum function nesting level of '100' reached, aborting! in C:\\xampp2\\htdocs\\wordpress\\wp-includes\\option.php on line 25\r\n\r\n    Call Stack:\r\n    0.0010     193784   1. {main}() C:\\xampp2\\htdocs\\twentyten\\wp-admin\\customize.php:0\r\n    0.0020     236544   2. require_once('C:\\xampp2\\htdocs\\twentyten\\wp-admin\\admin.php') C:\\xampp2\\htdocs\\twentyten\\wp-admin\\customize.php:13\r\n    0.0030     248000   3. require_once('C:\\xampp2\\htdocs\\twentyten\\wp-load.php') C:\\xampp2\\htdocs\\twentyten\\wp-admin\\admin.php:31\r\n    0.0030     255024   4. require_once('C:\\xampp2\\htdocs\\twentyten\\wp-config.php') C:\\xampp2\\htdocs\\twentyten\\wp-load.php:29\r\n    0.0040     316688   5. require_once('C:\\xampp2\\htdocs\\twentyten\\wp-settings.php') C:\\xampp2\\htdocs\\twentyten\\wp-config.php:80\r\n    0.1490   11526656   6. include('C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\functions.php') C:\\xampp2\\htdocs\\twentyten\\wp-settings.php:329\r\n    0.1720   12787688   7. require_once('C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\theme-options.php') \r\n    \r\n    \r\n\r\n    C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\functions.php:43\r\n    0.1720   12788112   8. twentyten_theme_options-&gt;__construct() C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\theme-options.php:2376\r\n    0.1720   12788248   9. twentyten_theme_options-&gt;initSettings() C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\theme-options.php:30\r\n    0.2010   13336424  10. ReduxFramework-&gt;__construct() C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\theme-options.php:70\r\n    0.2060   13423480  11. ReduxFramework-&gt;get_options() C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\lib\\redux\\framework.php:320\r\n    0.2060   13423680  12. apply_filters() C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\lib\\redux\\framework.php:850\r\n    0.2060   13424472  13. call_user_func_array() C:\\xampp2\\htdocs\\twentyten\\wp-includes\\plugin.php:213\r\n    0.2060   13424640  14. ReduxFramework_extension_customizer-&gt;_override_values() C:\\xampp2\\htdocs\\twentyten\\wp-includes\\plugin.php:213\r\n    0.2060   13424640  15. ReduxFramework-&gt;get_options() \r\n    \r\n    \r\n    C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\lib\\redux\\extensions\\customizer\\extension_customizer.php:130\r\n    0.2060   13424824  16. apply_filters() C:\\xampp2\\htdocs\\twentyten\\wp-content\\themes\\twentyten\\lib\\redux\\framework.php:850\r\n    0.2060   13425504  17. call_user_func_array() C:\\xampp2\\htdocs\\twentyten\\wp-includes\\plugin.php:213\r\n    0.2060   13425520  18. ReduxFramework_extension_customizer-&gt;_override_values() C:\\xampp2\\htdocs\\twentyten\\wp-includes\\plugin.php:213\r\n    0.2060   13425520  19. ReduxFramework-&gt;get_options() \r\n\r\n\r\nLooks like the error source is `_override_values` function inside the extension_customizer.php file in line 130, my guess is the customizer is trying to load the default settings when there are none, because the options are not saved in db yet. Any solution?\r\n\r\nRedux version: 3.3.9.29\r\nWordPress version: 4.1.1\r\nRedux is embedded in theme.\r\nNo js error \r\n"},"comment":{"url":"https://api.github.com/repos/reduxframework/redux-framework/issues/comments/77708073","html_url":"https://github.com/reduxframework/redux-framework/issues/2113#issuecomment-77708073","issue_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2113","id":77708073,"user":{"login":"towfiqi","id":1926614,"avatar_url":"https://avatars.githubusercontent.com/u/1926614?v=3","gravatar_id":"","url":"https://api.github.com/users/towfiqi","html_url":"https://github.com/towfiqi","followers_url":"https://api.github.com/users/towfiqi/followers","following_url":"https://api.github.com/users/towfiqi/following{/other_user}","gists_url":"https://api.github.com/users/towfiqi/gists{/gist_id}","starred_url":"https://api.github.com/users/towfiqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towfiqi/subscriptions","organizations_url":"https://api.github.com/users/towfiqi/orgs","repos_url":"https://api.github.com/users/towfiqi/repos","events_url":"https://api.github.com/users/towfiqi/events{/privacy}","received_events_url":"https://api.github.com/users/towfiqi/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T20:21:13Z","updated_at":"2015-03-07T20:21:13Z","body":"I havent, but I updated the customizer extension to latest version.\r\nI will update redux now and see if the error is still there and report here.\r\n\r\nThanks"}}