Title: Image Generator Issue
Last modified: March 30, 2023

---

# Image Generator Issue

 *  Resolved [arnab28](https://wordpress.org/support/users/arnab28/)
 * (@arnab28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/)
 * 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 += ‘
 * ![](https://marketingai.assiduusinc.com/image-generator/'+url+')
 * ‘; 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-generator-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [senols](https://wordpress.org/support/users/senols/)
 * (@senols)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16610462)
 * Hi [@arnab28](https://wordpress.org/support/users/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](https://wordpress.org/support/users/arnab28/)
 * (@arnab28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16610648)
 * After disable the plugin this error not showing, can you help me why this error
   is showing only image generator prompt?
 *  Plugin Author [senols](https://wordpress.org/support/users/senols/)
 * (@senols)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16610753)
 * Hi [@arnab28](https://wordpress.org/support/users/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](https://wordpress.org/support/users/arnab28/)
 * (@arnab28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16610885)
 * [GPT AI Power: Complete AI Pack](https://wordpress.org/support/plugin/gpt3-ai-content-generator/)
   this plugin have showing error , while i am disable this plugin error will be
   gone
 *  Plugin Author [senols](https://wordpress.org/support/users/senols/)
 * (@senols)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16610916)
 * 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 3 years, 2 months ago by [senols](https://wordpress.org/support/users/senols/).
 *  Plugin Author [senols](https://wordpress.org/support/users/senols/)
 * (@senols)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16615316)
 * 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.

 * ![](https://ps.w.org/gpt3-ai-content-generator/assets/icon-256x256.png?rev=3454929)
 * [AI Puffer – Chat. Create. Automate. (formerly AI Power)](https://wordpress.org/plugins/gpt3-ai-content-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gpt3-ai-content-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gpt3-ai-content-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/gpt3-ai-content-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gpt3-ai-content-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gpt3-ai-content-generator/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [senols](https://wordpress.org/support/users/senols/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/image-generator-issue/#post-16615316)
 * Status: resolved