Patrick
Forum Replies Created
-
AuthorPosts
-
Thanks a ton! This seems to do the trick. Postman led me astray 🙂
Here is a screenshot of the field settings. Note that I am experiencing this issue my all multi select fields and not only this particular one.
I’d like to be able to create a city or a neighborhood programatically. As far as I understand, this feature is not available. There is only a GET method on the locations endpoint.
Also, badges don’t work for addresses.
A (partial, but sufficient) fix would be change line 736 from:
if ($match_field && $match_field !== 'post_date')
to:
if ($match_field && $match_field !== 'post_date' && $match_field !== 'street')
Alex, I’m the original poster in this thread. That’s not the issue. The background is all in this thread.
Could you please answer my question?
Hello all,
I’m still struggling with this issue. It’s awful. However I’m having a hard time zeroing in on an exact repro scenario which would facilitate investigations.
Let me ask a simple question:
Can you please give me a list of all lines of code that would DELETE an image file throughout your code base? I’ll proceed from there and add tracing. I can do my own search, but you know your code better than I do 🙂
Unfortunately, no. I had to put investigations on hold as the suggested next step was to disable all plugins, which is not acceptable in production.
I’ll set up a clone for future investigations, as this is a production web site. Thank you!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Hello,
Thanks for the response. I understand how GD works. The issue is that the underlying files are being deleted. The database data is preserved.
Example of a broken place:
https://loungereview.com/lounges/air-china-domestic-first-class-lounge-pek-t3c/
(Screenshot attached – the pictures in the slider are all missing.)Here is the record in the database:
SELECT * FROM
wp_geodir_gd_place_detail
WHERE post_id = 18712
18712 Air China Domestic First Class Lounge – PEK T3C publish <snip>
Here are the associated attachments in the database:
SELECT * FROM
wp_geodir_attachments
WHERE post_id = 18712
ID post_id user_id title caption content file mime_type menu_order is_featured is_approved metadata
5980 18712 NULL PEK-air-china-domestic-first-class-lounge-pek-term… NULL NULL /2018/04/18712_PEK-air-china-domestic-first-class-… image/jpeg 1 0 1 NULL
5981 18712 NULL PEK-air-china-domestic-first-class-lounge-pek-term… NULL NULL /2018/04/18712_PEK-air-china-domestic-first-class-… image/jpeg 2 0 1 NULL
5982 18712 NULL PEK-air-china-domestic-first-class-lounge-pek-term… NULL NULL /2018/04/18712_PEK-air-china-domestic-first-class-… image/jpeg 3 0 1 NULL
<snip>The issue is that the files are gone. Screenshot of FTP storage attached. As you can see all that’s left for ID 18712 is the resized images generated by WordPress for the main photo in the media library.
This happens occasionally when I edit a place.
This reply has been marked as private.Thanks a ton guys, I’m all set and it works. I appreciate your help.
Actually, that’s by design 🙂 This is an empty folder for you to upload the theme files or zip. I’ll install on my wordpress instances manually. Thank you!
-
AuthorPosts