• Resolved omdaddi

    (@omdaddi)


    Thanks. This looks exactly what I need but it is not pulling geolocation from a photo I upload and then put as Featured Image.

    This is a 100% vanilla up-to-date install of wordpress and it is the only plugin installed. I am using the 2024 theme.

    There is an error message at the top of the post page which disappears but is visible in source:

    Warning: Undefined array key "geolocation_nonce" in <b>/home/xxx/xxx/wp-content/plugins/geolocation/geolocation.php on line 194

    Warning: Cannot modify header information - headers already sent by (output started at /home//xxx/xxx/wp-content/plugins/geolocation/geolocation.php:194) in <b>/home//xxx/xxx/wp-admin/admin-header.php on line 9

    Also, if I try to connect to Google Photos I get:

    Invalid/missing blog nonce. All core actions require a valid nonce.

    With the plugin disabled there is no option to connect to google photos.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Yann

    (@ymichel)

    Hi,
    the missing object is usually provided within the geolocation form part.
    Do you see this in the editor?
    What is your current WP version?
    BR,
    Yann

    • This reply was modified 5 months, 2 weeks ago by Yann.
    Thread Starter omdaddi

    (@omdaddi)

    Sorry, I have been cycling.

    I am not sure what you are asking? In the settings page there appears to be no error message. I am afraid I am not techy enough to know how to look for your object and have no idea what a nonce is in this context.

    I am on WordPress 6.5.4.

    Plugin Author Yann

    (@ymichel)

    I am on it and investigating…

    Plugin Author Yann

    (@ymichel)

    I tried to reproduce your issue but was not successful. Even though I found and fixed an other issue, yours still is a mystery to me.
    Have you tried to deactivate the other plugins? Which are you using?
    What theme do you use? Have you tried with a standard WP theme?

    Thread Starter omdaddi

    (@omdaddi)

    The site is a vanilla installation and self-hosted.

    I am using Twenty Twenty-Four and yours is the only plugin activated.

    I have set up another test site if you are interested and I now get more errors like the above on a new post and it still does not pull the exif data, sad times.

    If you want to see, you can log in to the site here:

    https://test.thewps.uk/wp-admin

    There is basic protection on that domain. The username is your name (four letters, case sensitive) and the password is the name of this topic from the url without the / on the end. (Just the last bit after /topic/).

    WordPress User: vanilla

    Password: mxp*ady3NTA@teq0bpc

    Once you are in I suggest you change the password.

    I 100% don’t EXPECT you to work at this! We all have lives. But if you are anything like me you will want to get to the bottom of it. I will delete that site in a week or so.

    I would love to get the Featured Image EXIF to location working – as you say, perfect for travellers.

    Plugin Author Yann

    (@ymichel)

    Thanks for providing the option to debug on your site.
    I could now understand the issue for it and provided a fix in 1.9.6

    Thread Starter omdaddi

    (@omdaddi)

    I can confirm that the error message has disappeared. Thank you. Sadly when I use the site, whilst appears to be fine, I did get this email. All seems fine apart from that.

    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Geolocation.

    First, visit your website (https://quirky.w-p.me.uk/) and check for any visible issues. Next, visit the page where the error was caught (https://quirky.w-p.me.uk/wp-admin/post.php?post=129&action=edit&meta-box-loader=1&meta-box-loader-nonce=deae7874bb&_locale=user) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    I can also confirm that when I can get an EXIF labelled image in as the Featured Image your map works perfectly. It is magical. I have to upload them using the web site for now.

    My issue is persuading JetPack app to do this successfully. Even with “optimise images” OFF and “remove location from media” OFF the images arrive with no location data. This is not your issue. I will keep playing about.

    • This reply was modified 5 months, 1 week ago by omdaddi. Reason: Removed reference to Wordpress App since it won't let me add a new site
    Thread Starter omdaddi

    (@omdaddi)

    It works perfectly on mobile using firefox, so I will just ditch Jetpack.

    Plugin Author Yann

    (@ymichel)

    I am happy that I could solve the point. I also see, that WP-App does not work as expected and will try to figure out if I can provide a solution to this issue.
    I would also be glad if you were writing a review in case you find the time :-).

    BR, Yann

    Thread Starter omdaddi

    (@omdaddi)

    OK! I will leave the test site up for now and will certainly review.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.