phr72
Forum Replies Created
-
Updated plugin. Still crashing:
2022/10/03 15:31:56 [error] 116141#116141: *168887 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php:451 Stack trace: #0 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php(140): Depicter\Document\Models\Document->reorderSections() #1 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Front/Preview.php(112): Depicter\Document\Models\Document->prepare() #2 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Front/Preview.php(89): Depicter\Front\Preview->prepareToRender(Object(Depicter\Document\Models\Document), Array) #3 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Controllers/Ajax/EditorAjaxController.php(283): Depicter\Front\Preview->document(2, Array) #4 [internal function]: Depicter\Controllers\Ajax\EditorAjaxController->preview(Object(WPEmerge\Requests\Request), '', 'depicter/docume...') #5 /www/kfamainsite_366/public/wp-cont" while reading response header from upstream, client: 108.51.29.104, server: kfamainsite.kinsta.cloud, request: "GET /wp-admin/admin-ajax.php?action=depicter/document/preview&depicter-csrf=3ae447649b&ID=2&status=publish|draft HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7.4-fpm-kfamainsite.sock:", host: "kfamainsite.kinsta.cloud:30642", referrer: "https://kfamainsite.kinsta.cloud/wp-admin/admin.php?page=depicter-dashboard"
Full Error Detail:
Error Details ============= An error of type E_ERROR was caused in line 451 of the file /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php. Error message: Uncaught Error: Cannot use object of type stdClass as array in /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php:451 Stack trace: #0 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php(140): Depicter\Document\Models\Document->reorderSections() #1 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Front/Render.php(96): Depicter\Document\Models\Document->prepare() #2 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Front/Render.php(53): Depicter\Front\Render->getDocument('2', Array) #3 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/WordPress/ShortcodesServiceProvider.php(100): Depicter\Front\Render->document('2', Array) #4 /www/kfamainsite_366/public/wp-includes/shortcodes.php(356): Depicter\WordPress\ShortcodesServiceProvider->process_shortcode(Array, '', 'depicter') #5 [internal function]: do_shortcode_tag(Array) #6 /www/kfamainsite_366/public/wp-includes/shortcodes.php(228): preg_r
Yes connecting to your server now, but slider will not publish, throws a 500 error, and crashes my site until i deactivate your plugin.
Error code:
2022/10/03 01:36:04 [error] 116141#116141: *166641 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php:451 Stack trace: #0 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php(140): Depicter\Document\Models\Document->reorderSections() #1 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Front/Render.php(96): Depicter\Document\Models\Document->prepare() #2 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/src/Front/Render.php(53): Depicter\Front\Render->getDocument(2, Array) #3 /www/kfamainsite_366/public/wp-content/plugins/depicter/app/hooks.php(33): Depicter\Front\Render->document(2, Array) #4 /www/kfamainsite_366/public/wp-includes/class-wp-hook.php(309): depicter_make_document_cache(2, Array) #5 /www/kfamainsite_366/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #6 /www/kfamainsite_366/public/wp-includes/plugin.php(476)" while reading response header from upstream, client: 108.51.29.104, server: kfamainsite.kinsta.cloud, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7.4-fpm-kfamainsite.sock:", host: "kfamainsite.kinsta.cloud:30642", referrer: "https://kfamainsite.kinsta.cloud/wp-admin/post.php?document=2&action=depicter"
Hi @voltronik – I did not implement that code because the notifications are being triggered. In fact, when publishing from the back end, they are triggered in triplicate, and from the front end, in duplicate.
Hi @voltronik –
The notifications are being triggered and routed correctly, but I see no mention of how to fix double notifications within that documentation.
thanks, Paul
Hey @voltronik –
Visitors are filling out a form created via ACF, which is immediately published to a corresponding custom post type via acf_form. Using ACF Pro, BNFW Custom Fields Add-On, and BNFW Send To Any Email plugins.
thanks, Paul
Hello –
No that does not make any difference. In fact i used that support document to get the notifications running again after it recently broke – but now instead of no notifications, I have duplicates.