Hello @jmjunior
Can you please let us know, how you are adding embeds? also please send us your site health information using this form.
Additionally, can you please check by disabling HTML modification/optimizations?
Hello @milindmore22
Thank you for your reply.
I’m having trouble to reply trought the indicated form because it says that my answer is too big, due to my PHP error log and Site Health Info.
The embeds are being added in the common way, pasting the Instagram post url direct in the post editor with help of the Embed Plus plugin.
After a few test, I found that the problem is related to the function create_amp_instagram_and_replace_node that is returning the node_args array data-shortcode value empty.
Do you suspect what could be causing this issue?
Hello @jmjunior
I am not able to reproduce the issues at my end, can you please send us site health info and PHP error log just the create_amp_instagram_and_replace_node
error stack ( not full error log) using this form.
Also, can you include HTML markup of Instagram embed in additional information field (screenshot)
Hello @milindmore22
Thank you for reply.
I sent the info trought the indicated form.
My WP_DEBUG
and WP_DEBUG_LOG
is both setted true, so there is no registry in the log relacted to create_amp_instagram_and_replace_node
function.
I believe that problem could be with the get_instagram_id_from_url
function – that is not populating the %url
variable in my case.
I gonna close this topic because I got a better approach of the problem. So I will create other topic most concise to the issue.