Skip Navigation

[Résolu] Split: Map display for a view block not displaying on initial page load – Javascrip error on edit form

This support ticket is created Il y a 3 années et 4 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 réponses, has 2 voix.

Last updated by Steve Palm Il y a 3 années et 4 mois.

Assisted by: Minesh.

Auteur
Publications
#1879961

After making an edit to a post form that we use to collect information, now if I try to edit that WP containing page I get these errors in the javascript console, noting in error_log. Deleting and re-creating the page (as it is just a placeholder anyway) resolved the issue, but I don't know what went wrong.

JQMIGRATE: Migrate is installed, version 3.3.2
VM618 post.php:790 [Intervention] Images loaded lazily and replaced with placeholders. Load events are deferred. See <em><u>hidden link</u></em>
deprecated.min.js?ver=7eeae75ecca445767bf663bbc025ee2e:2 wp.nux is deprecated. Note: wp.components.Guide can be used to show a user guide.
c @ deprecated.min.js?ver=7eeae75ecca445767bf663bbc025ee2e:2
491 @ nux.min.js?ver=2385eeb0b9e29e2fe366fb2441b679bd:2
n @ nux.min.js?ver=2385eeb0b9e29e2fe366fb2441b679bd:2
wp.nux.0 @ nux.min.js?ver=2385eeb0b9e29e2fe366fb2441b679bd:2
(anonymous) @ nux.min.js?ver=2385eeb0b9e29e2fe366fb2441b679bd:2
blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3 Block "core-embed/wordpress" is not registered.
Be @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
(anonymous) @ editor.js?ver=20181202:1
post.php?post=590&action=edit:1 [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: <em><u>hidden link</u></em>) <input type=​"hidden" id=​"_wpnonce" name=​"_wpnonce" value=​"3fc1c6c48f">​ <input type=​"hidden" id=​"_wpnonce" name=​"_wpnonce" value=​"07c868655a">​
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check <em><u>hidden link</u></em>.
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
s.ajax.s.ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:5
self.getRelationshipsData @ post_relationship.js?ver=3.3.5:811
self.maybeRequestRelationshipsData @ post_relationship.js?ver=3.3.5:824
self.managePostRelationshipFilterWarning @ post_relationship.js?ver=3.3.5:700
self.init @ post_relationship.js?ver=3.3.5:1331
WPViews.PostRelationshipFilterGUI @ post_relationship.js?ver=3.3.5:1338
(anonymous) @ post_relationship.js?ver=3.3.5:1343
e @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
t @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
fire @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
ready @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
B @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6:2
blocks.editor.js?ver=2.6.5:1 Uncaught (in promise) SyntaxError: Unexpected token u in JSON at position 1
    at JSON.parse (<anonymous>)
    at save (blocks.editor.js?ver=2.6.5:1)
    at Qt (blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3)
    at Xt (blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3)
    at block-editor.min.js?ver=5f6a75cdc59f1a900e9d4bcfb43bddba:12
    at hooks.min.js?ver=54e7683a4c0aafac0448bb95dc8d53ba:2
    at qr (blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3)
    at Gr (blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3)
    at blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
    at Array.reduce (<anonymous>)
save @ blocks.editor.js?ver=2.6.5:1
Qt @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
Xt @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
(anonymous) @ block-editor.min.js?ver=5f6a75cdc59f1a900e9d4bcfb43bddba:12
(anonymous) @ hooks.min.js?ver=54e7683a4c0aafac0448bb95dc8d53ba:2
qr @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
Gr @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
(anonymous) @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
Yr @ blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
(anonymous) @ editor.min.js?ver=9b146115779a076ab6e0e4e40008c555:7
tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
invoke @ wp-polyfill.min.js?ver=7.4.4:1
t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
c @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
t @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
n @ editor.min.js?ver=9b146115779a076ab6e0e4e40008c555:7
Yg @ react-dom.min.js?ver=16.13.1:68
rh @ react-dom.min.js?ver=16.13.1:98
zj @ react-dom.min.js?ver=16.13.1:228
Th @ react-dom.min.js?ver=16.13.1:152
tj @ react-dom.min.js?ver=16.13.1:152
Te @ react-dom.min.js?ver=16.13.1:146
(anonymous) @ react-dom.min.js?ver=16.13.1:61
unstable_runWithPriority @ react.min.js?ver=16.13.1:25
Da @ react-dom.min.js?ver=16.13.1:60
Pg @ react-dom.min.js?ver=16.13.1:61
ha @ react-dom.min.js?ver=16.13.1:60
Ja @ react-dom.min.js?ver=16.13.1:224
ch @ react-dom.min.js?ver=16.13.1:93
e @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
o @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
p @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
dispatch @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
n @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
Promise.then (async)
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
r.any @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
r.any @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
n @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
r.any @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
Promise.then (async)
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
c @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
t @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
r.iterator @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
c @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
t @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
r.iterator @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
e @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
c @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
t @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
invoke @ wp-polyfill.min.js?ver=7.4.4:1
t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
n @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
c @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
ue @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
ie @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
invoke @ wp-polyfill.min.js?ver=7.4.4:1
t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
n @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
c @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
setTimeout (async)
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
invoke @ wp-polyfill.min.js?ver=7.4.4:1
t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
n @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
c @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
f @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
s @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
c @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ edit-post.min.js?ver=f03e57452d64a3c73916cb7f8470bf5c:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
We @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
(anonymous) @ data.min.js?ver=777f925bfe1a2aea2a86b7b9ae6aed25:2
we @ react-dom.min.js?ver=16.13.1:84
zj @ react-dom.min.js?ver=16.13.1:226
Th @ react-dom.min.js?ver=16.13.1:152
tj @ react-dom.min.js?ver=16.13.1:152
Te @ react-dom.min.js?ver=16.13.1:146
Ja @ react-dom.min.js?ver=16.13.1:224
md @ react-dom.min.js?ver=16.13.1:173
(anonymous) @ react-dom.min.js?ver=16.13.1:175
Rh @ react-dom.min.js?ver=16.13.1:147
nd @ react-dom.min.js?ver=16.13.1:175
I.render @ react-dom.min.js?ver=16.13.1:238
hi @ edit-post.min.js?ver=f03e57452d64a3c73916cb7f8470bf5c:2
(anonymous) @ post.php?post=590&action=edit:5729
Show 66 more frames from Library code
4
#1879967

Minesh
Supporter

Languages: Anglais (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I will require bit more details or it would be better if you can share access details with problem URL where I can see the issue if. (However it seems it will not be possible as you already deleted the page and recreated it).

Is it possible for you to share steps that should help me to reproduce the issue.
- You created post form for Custom post type - what fields are added to form?
- Where you added the form? Do you have any other blocks added to page?

Please share all required details and I'm happy to run a test with the latest hotfix release.

#1879971

Sorry, I am not taking time to go through the whole dog and pony show again from ground zero. This is an issue created by your hotfix, pass it on to your developers. If they want to fix it to make life better for everyone, that would be wonderful. Hopefully I can avoid being bitten by this new bug in the future, but if it becomes persistent and nothing has been done, then I may have to invest the time to walk through the painful process of getting it to your developer's attention.

#1879973

Just not taking the time to go through all this again. Have a nice day.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.