Changing a value in database disables the popup

Feb 14 (6 months ago)
HANVARI wrote
I have a popup with an image content that I created in my offline test copy and then moved to the live hosting.<br /> It turns out that popup-builder using full URL for images, which mean it is not working on live server anymore because of the wrong image URL pointing to a local location.<br /> <br /> I need to update image URL without using WP control panel on live server (for reasons out of the scope of this question), using database manipulation only. but running a query to update the image url in the corresponding record in `wp_postmeta` table disables the whole popup. After the change the popup-builder page on back-end shows there are a total of &quot;1&quot; popups defined, but the list is empty! If I change the record back to the original values it re-appears and works again. Is there any solution to this problem? how can I change the content of the popup through database only?<br /> <br /> Thanks.
Reply
3 Answers
Feb 15 (6 months ago)
Ani agent wrote
Dear User,<br /> <br /> Could you, please, specify what popup type are you using - is it an Image popup or another one?
Feb 15 (6 months ago)
HANVARI wrote
Yes, It is an &quot;Image Popup&quot;
Feb 15 (6 months ago)
Ani agent wrote
Dear User,<br /> <br /> Please, check the php file attached to this message.<br /> You should replace it in the following directory: your_wordpress_folder/wp-content/plugins/popup-builder/public/views/main/image.php<br /> <br /> After replacing it, you should refresh the page (maybe twice) to see the image changed.<br /> Please, check this option and let us know if you need more help.