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?
-
Thanks for reporting your problem.
I can’t reproduce the problem on my end.Please confirm that you have followed those troubleshooting steps :
- Use the latest software versions : make sure the Nimble Builder and your theme are up to date.
- 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.
- Browser : clear your browser’s cache / history
- 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
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 6 years ago by
Anonymous User 16930513.
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 ).### Begin System Infos (Generated 2019-03-13 13:14:40) ###
———— SITE INFO
Site URL: https://192.168.137.191/wordpress
Home URL: 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 ###
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
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 thewp-content/
folder.
Let me know what you see in the PHP error log.
Thanks-
This reply was modified 5 years, 11 months ago by
presscustomizr.
I enabled those settings in wp-config.php and went to try and add a section again. No debug.log was produced.
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 widgetI 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 5 years, 11 months ago by
Anonymous User 16930513.
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.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>OK thanks I’m investigating the problem.
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.@vortice11 thanks for reporting the problem.
Does it happen when you try inserting all pre-build section, or only one specifically ?
ThanksHello use:
Nimble Builder v1.6.7
Customizr-pro theme v2.1.27
WP version: 5.1.1ACTIVE 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.3PHP Version: 7.2.13
MySQL Version: 5.7.24-27-log
Web Server Info: ApacheThe problem occurs on all pages with all the PICK A SECTION blocks (only the PICK A MODULE blocks work).
- The topic ‘Error on Private Devserver’ is closed to new replies.