• Resolved gingalley

    (@gingalley)


    Hello,

    I have multiple sites using WP Realtime Sitemap and have just switched to PHP 7 and the plugin broke. Nothing showing on Sitemap pages now.

    I have read through other support tickets with the same issue, but have not found a solution yet.

    Running WP v4.7.3 and WP Realtime Sitemap v1.5.6

    Any guidance would be appreciated. Thanks!

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter gingalley

    (@gingalley)

    Disregard. I installed a different plugin that is compatible. :/

    Hi gingalley
    I’m having the same problem – which plugin did you move over to ?

    Sorry to advertise other plugins here but as long as it’s not fixed people will move or be really annoyed. I just make it easier.

    I moved to “WP Sitemap Page”. There are better plugins if you need an XML sitemap too but I wanted just a frontend page because I have another plugin for XML (Google Sitemap by BestWebSoft). For my use case it’s a 100% replacement of what “WP Realtime Sitemap” did.

    Hi guys.
    I’m not the author but while he is not ready i have simple patch for you.

    You will need edit /wp-content/plugins/wp-realtime-sitemap/wp-realtime-sitemap.php file. Find all constructions like $$arr[‘key’] (just find $$ in any text editor) and replace all with ${$arr[‘key’]}.
    It was help for me.

    Thread Starter gingalley

    (@gingalley)

    Sorry for the late response @photomaldives. I installed WP SEO HTML Sitemap since I use WordPress SEO by Yoast Plugin. Works well.

    https://www.ads-software.com/plugins/wp-seo-html-sitemap/

    Thanks, guys.

    So we now have 1 hack and 2 alternative plugins. ??

    Plugin Author Rincewind

    (@rincewind)

    Thanks for doing the hack and also for encouraging users to use alternative plugins instead of my own!

    I am able to see how many people have downloaded the plugin, and the number of active installs of the plugin. Whilst I understand that it currently doesn’t work with PHP7, I have no way of testing it with PHP7 as my current hosting provider hasn’t updated to it yet.

    I don’t get paid to support, or write this plugin, I wrote it for myself, and made it available to others who may also find it useful.

    I have added donation links to the plugin, and whilst I don’t expect anyone to make a monetary donation, it is there for those who would like to and/or require additional support.

    Thread Starter gingalley

    (@gingalley)

    @rincewind, Maybe you could put in the description that plugin is not compatible with php7?

    Appreciate your efforts for developing the plugin and will send you a donation in kind.

    Thread Starter gingalley

    (@gingalley)

    @rincewind, Could I offer you some space on my server that is running php7 to develop and test?

    Plugin Author Rincewind

    (@rincewind)

    of course that would make it much easier, I would need to be able to access the error_log as I would expect display_errors to be off.

    Thread Starter gingalley

    (@gingalley)

    No problem. Contact me through our website and we can work out the details.

    Plugin Author Rincewind

    (@rincewind)

    v1.5.7 now fully works with php 7.

    You have Gingalley for providing the php 7 hosting and also myself to thank for this!

    If you would like to make a donation, you can do so here : https://goo.gl/mmUuGj

    This is entirely optional, but does mean that I am able to spend more time providing support and fixing issues than I would normally as working on this plugin doesn’t pay the bills.

    Thread Starter gingalley

    (@gingalley)

    Yay! This is great news. Happy to help for such a wonderful plugin.

    Will be installing back on ALL my sites.

    Thanks again @rincewind for the great plugin.

    • This reply was modified 7 years, 4 months ago by gingalley.
    larkspur

    (@larkspur)

    Daniel – I still get this error for having incompatibility with php 7 even with v 1.5.7:

    wp-content/plugins/wp-realtime-sitemap/wp-realtime-sitemap.php
    ————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————
    35 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.

    How can I fix line 35? Thanks

    Plugin Author Rincewind

    (@rincewind)

    @larkspur can you please delete the plugin, and then reinstall it from scratch and try it again?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘WP Realtime Sitemap Not Working Running PHP 7’ is closed to new replies.