• Resolved arnab28

    (@arnab28)


    Hello,

    I am using Image generator shotcode in my website but suddently i got an error and i am not able to generate any AI image, Please help.

    Error : “

    ‘; let wpaicgImageNonce = ’86e4635424’; let wpaicgStartTime; function wpaicgImageLoadingEffect(btn){ btn.setAttribute(‘disabled’,’disabled’); btn.innerHTML += ”; } function wpaicgImageRmLoading(btn){ btn.removeAttribute(‘disabled’); btn.removeChild(btn.getElementsByTagName(‘span’)[0]); } function wpaicgImageCloseModal() { document.querySelectorAll(‘.wpaicg_modal_close’)[0].addEventListener(‘click’, event => { document.querySelectorAll(‘.wpaicg_modal_content’)[0].innerHTML = ”; document.querySelectorAll(‘.wpaicg-overlay’)[0].style.display = ‘none’; document.querySelectorAll(‘.wpaicg_modal’)[0].style.display = ‘none’; }) } function wpaicgSaveImageData(id){ var item = document.getElementById(‘wpaicg-image-item-‘+id); item.querySelectorAll(‘.wpaicg-image-item-alt’)[0].value = document.querySelectorAll(‘.wpaicg_edit_item_alt’)[0].value; item.querySelectorAll(‘.wpaicg-image-item-title’)[0].value = document.querySelectorAll(‘.wpaicg_edit_item_title’)[0].value; item.querySelectorAll(‘.wpaicg-image-item-caption’)[0].value = document.querySelectorAll(‘.wpaicg_edit_item_caption’)[0].value; item.querySelectorAll(‘.wpaicg-image-item-description’)[0].value = document.querySelectorAll(‘.wpaicg_edit_item_description’)[0].value; document.querySelectorAll(‘.wpaicg_modal_content’)[0].innerHTML = ”; document.querySelectorAll(‘.wpaicg-overlay’)[0].style.display = ‘none’; document.querySelectorAll(‘.wpaicg_modal’)[0].style.display = ‘none’; } function wpaicgModalImage(id){ var item = document.getElementById(‘wpaicg-image-item-‘+id); var alt = item.querySelectorAll(‘.wpaicg-image-item-alt’)[0].value; var title = item.querySelectorAll(‘.wpaicg-image-item-title’)[0].value; var caption = item.querySelectorAll(‘.wpaicg-image-item-caption’)[0].value; var description = item.querySelectorAll(‘.wpaicg-image-item-description’)[0].value; var url = item.querySelectorAll(‘input[type=checkbox]’)[0].value; document.querySelectorAll(‘.wpaicg_modal_content’)[0].innerHTML = ”; document.querySelectorAll(‘.wpaicg-overlay’)[0].style.display = ‘block’; document.querySelectorAll(‘.wpaicg_modal’)[0].style.display = ‘block’; document.querySelectorAll(‘.wpaicg_modal_title’)[0].innerHTML = ‘Edit Image’; var html = ‘

    ‘; html += ‘

    ‘; html += ‘

    ‘; html += ‘Alternative Text

    ‘; html += ‘Title

    ‘; html += ‘Caption

    ‘; html += ‘Description’+description+’

    ‘; html += ‘

    ‘; html += ‘

    ‘; html += ”; document.querySelectorAll(‘.wpaicg_modal_content’)[0].innerHTML = html; wpaicgImageCloseModal(); } function wpaicgViewModalImage(element){ var url = element.getAttribute(‘src’); document.querySelectorAll(‘.wpaicg_modal_content’)[0].innerHTML = ”; document.querySelectorAll(‘.wpaicg-overlay’)[0].style.display = ‘block’; document.querySelectorAll(‘.wpaicg_modal’)[0].style.display = ‘block’; document.querySelectorAll(‘.wpaicg_modal_title’)[0].innerHTML = ‘View Image’; var html = ”; html += ‘

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author senols

    (@senols)

    Hi @arnab28

    I just test it in couple of other websites and it worked fine for me.

    I am suspecting some of your plugins or theme as causing this conflict. To verify, can you pls try to disable your plugins and see if errors are gone?

    Thread Starter arnab28

    (@arnab28)

    After disable the plugin this error not showing, can you help me why this error is showing only image generator prompt?

    Plugin Author senols

    (@senols)

    Hi @arnab28

    Please dont disable the plugin. Just disable all other plugins one by one and see which plugin have conflict with our plugin.

    Senol

    Thread Starter arnab28

    (@arnab28)

    GPT AI Power: Complete AI Pack this plugin have showing error , while i am disable this plugin error will be gone

    Plugin Author senols

    (@senols)

    Can you disable all other plugins except our plugin and see if the error gone? if yes it means there is a plugin that causing a conflict. Now to find that, can you enable your plugins one by one and see which one causing the conflict?

    • This reply was modified 1 year, 11 months ago by senols.
    Plugin Author senols

    (@senols)

    This issue is fixed with latest version.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image Generator Issue’ is closed to new replies.