Title: Error on Private Devserver
Last modified: March 5, 2019

---

# Error on Private Devserver

 *  Resolved Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-on-private-devserver/)
 * `updateAPISetting => error when preparePresetSectionForInjection => sek-add-content-
   in-new-sektion => [object Object]`
 * I get this message on my devserver when I try to add a section… any ideas?

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/error-on-private-devserver/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-on-private-devserver/page/2/?output_format=md)

 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11275505)
 * Thanks for reporting your problem.
    I can’t reproduce the problem on my end.
 * Please confirm that you have followed those troubleshooting steps :
    1. **Use the latest software versions** : make sure the Nimble Builder and your
       theme are up to date.
    2. **Cache plugin** : if you are using a server cache or cache plugin, please clear
       it’s cache content and disable caching via it’s settings.
    3. **Browser ** : [clear your browser’s cache / history](https://docs.presscustomizr.com/article/309-how-to-clear-your-browsers-cache-cookies-and-history/?utm_source=wp-org&utm_medium=link&utm_campaign=nimble-forum)
    4. **Check for plugin conflict** : deactivate all of your plugins. If it fixes 
       the issue, re-activate your plugins one by one, until you identify the plugin
       in conflict.
 * Can you describe the steps leading to the problem ?
 * Last question, does this problem only occur on your local dev machine, or also
   on a production site ?
 * Thanks
 *  Thread Starter Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11308010)
 * I’ve followed those steps, I’m not using a cache plugin and have deactivated 
   all of my plugins while testing.
 * I drag and drop or try to add any section, and get that error.
 * Just on my local dev machine, it doesn’t appear to be affecting my production
   site.
 * Please advise!
    -  This reply was modified 7 years, 2 months ago by Anonymous User 16930513.
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11308090)
 * OK. The only possibility I see would be a local server setup problem, preventing
   the plugin to run properly. Difficult to try a diagnostic.
    You could include
   your system infos in your next reply. You’ll find them under Dashboard > Plugins
   > System Infos ( when the Nimble Builder plugin is active ).
 *  Thread Starter Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11308191)
 * ### Begin System Infos (Generated 2019-03-13 13:14:40) ###
    ———— SITE INFO Site
   URL: [https://192.168.137.191/wordpress](https://192.168.137.191/wordpress) Home
   URL: [https://192.168.137.191/wordpress](https://192.168.137.191/wordpress) Multisite:
   No
 * ———— USER BROWSER
    Platform: Windows Browser Name: Chrome Browser Version: 72.0.3626.121
 * ———— WORDPRESS CONFIG
    WP Version: 5.1.1 Language: en_US Permalink Structure:
   Default Active Theme: Customizr 4.1.30 Show On Front: posts ABSPATH: /var/www/
   html/wordpress/ WP_DEBUG: Enabled WP Memory Limit: 40MB
 * ———— NIMBLE CONFIGURATION
    Version: 1.5.1 Upgraded From: 1.4.14 Started With:
   1.4.10
 * ———— WP ACTIVE PLUGINS
    Nimble Page Builder: 1.5.1
 * ———— WP INACTIVE PLUGINS
    Akismet Anti-Spam: 4.1.1 Elementor: 2.5.5 Hello Dolly:
   1.7
 * ———— WEBSERVER CONFIG
    PHP Version: 7.2.15 MySQL Version: 5.5.60 Webserver Info:
   Apache/2.4.6 Writing Permissions: OK
 * ———— PHP CONFIG
    Memory Limit: 256M Upload Max Size: 2M Post Max Size: 8M Upload
   Max Filesize: 2M Time Limit: 30 Max Input Vars: 1000 Display Errors: On (1) PHP
   Arg Separator: & PHP Allow URL File Open: 1
 * ### End System Infos ###
 *  Thread Starter Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11378711)
 * Just updated to the latest version, now attempting to add content I get a slightly
   different error message:
 * > updateAPISetting => error when preparePresetSectionForInjection => sek-add-
   > content-in-new-sektion => Nimble\SEK_Front_Ajax::sek_ajax_import_attachment
   > => problem when trying to wp_insert_attachment() for img : /assets/img/section_assets/
   > intro_three.jpg
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11378764)
 * Difficult to reproduce this issue.
 * It would help to see the PHP debug log of the problem. Because it is occuring
   while performing an ajax request => a request in javascript to the server.
    This
   way we could see which error is generated by PHP when performing the _add content_
   action.
 * To enable the PHP debug log, you need to add the following code to your `wp-config.
   php` file :
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_LOG', true );
       ```
   
 * It will write all PHP errors in a file named `debug.log`, located at the root
   of the `wp-content/` folder.
    Let me know what you see in the PHP error log. 
   Thanks
    -  This reply was modified 7 years, 2 months ago by [presscustomizr](https://wordpress.org/support/users/nikeo/).
 *  Thread Starter Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11381735)
 * I enabled those settings in wp-config.php and went to try and add a section again.
   No debug.log was produced.
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11381782)
 * OK :/ that will be difficult to debug then.
 * It seems to have something to do with the ajax requests or with the media upload.
   
   Can you test the following on your local site : – open the live customizer – 
   add an Image widget in any widget zone – try to add an image to the widget
 *  Thread Starter Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11381906)
 * I can add an image widget. It’s actually just the **sections for an introduction**
   that doesn’t seem to load properly, the other sections load just fine.
    -  This reply was modified 7 years, 2 months ago by Anonymous User 16930513.
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11382002)
 * ok, thanks this narrows down the problem a lot.
    Can you try to insert another
   pre-built section several times ? the problem might be related to that.
 *  Thread Starter Anonymous User 16930513
 * (@anonymized-16930513)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11385971)
 * I tried a bunch of times, it always shows an error. Here is what I got from the
   dev console in chrome:
 * > <sek_import_attachment ajax action failed for image /assets/img/section_assets/
   > intro_three.jpg>
   >  Nimble\SEK_Front_Ajax::sek_ajax_import_attachment => problem
   > when trying to wp_insert_attachment() for img : /assets/img/section_assets/
   > intro_three.jpg </sek_import_attachment ajax action failed for image /assets/
   > img/section_assets/intro_three.jpg> <reactToPreviewMsg => error when firing
   > sek-add-content-in-new-sektion> updateAPISetting => error when preparePresetSectionForInjection
   > => sek-add-content-in-new-sektion => Nimble\SEK_Front_Ajax::sek_ajax_import_attachment
   > => problem when trying to wp_insert_attachment() for img : /assets/img/section_assets/
   > intro_three.jpg </reactToPreviewMsg => error when firing sek-add-content-in-
   > new-sektion> <updateAPISetting => __presetSectionInjected__ failed> Nimble\
   > SEK_Front_Ajax::sek_ajax_import_attachment => problem when trying to wp_insert_attachment()
   > for img : /assets/img/section_assets/intro_three.jpg </updateAPISetting => 
   > __presetSectionInjected__ failed>
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11387469)
 * OK thanks I’m investigating the problem.
 *  [vortice11](https://wordpress.org/support/users/vortice11/)
 * (@vortice11)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11429934)
 * Hi, since a few days I have the same problem on my site. The problem occurs when
   I use PICK A SECTION.
 * updateAPISetting => error when preparePresetSectionForInjection => sek-add-content-
   in-new-sektion => Nimble\SEK_Front_Ajax::sek_ajax_import_attachment => problem
   when trying to wp_insert_attachment() for img : /assets/img/section_assets/intro_three.
   jpg
    If this problem locks Nimble Builder, you can try resetting the sections
   of this page.
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11430002)
 * [@vortice11](https://wordpress.org/support/users/vortice11/) thanks for reporting
   the problem.
    Does it happen when you try inserting all pre-build section, or
   only one specifically ? Thanks
 *  [vortice11](https://wordpress.org/support/users/vortice11/)
 * (@vortice11)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-private-devserver/#post-11430088)
 * Hello use:
    Nimble Builder v1.6.7 Customizr-pro theme v2.1.27 WP version: 5.1.1
 * ACTIVE PLUGINS:
    Classic Editor: 1.4 Cookie Notice: 1.2.46 Nimble Page Builder:
   1.6.7 Regenerate Thumbnails: 3.1.0 Yoast SEO: 10.1.3
 * PHP Version: 7.2.13
    MySQL Version: 5.7.24-27-log Web Server Info: Apache
 * The problem occurs on all pages with all the PICK A SECTION blocks (only the 
   PICK A MODULE blocks work).

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/error-on-private-devserver/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-on-private-devserver/page/2/?output_format=md)

The topic ‘Error on Private Devserver’ is closed to new replies.

 * ![](https://ps.w.org/nimble-builder/assets/icon.svg?rev=1986014)
 * [Nimble Page Builder](https://wordpress.org/plugins/nimble-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nimble-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nimble-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/nimble-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nimble-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nimble-builder/reviews/)

 * 21 replies
 * 4 participants
 * Last reply from: Anonymous User 16930513
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/error-on-private-devserver/page/2/#post-11448708)
 * Status: resolved