• Resolved cpaccount

    (@cpaccount)


    Some of sub site map xml are showing succes, but some are showing can not be read and some are showing can be read with error of xml tag is missing.

    I am running a directory website. In that place listing urls are successfully read by webmaster. But taxanomy listing category urls are not readable.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @cpaccount thanks for raising the issue. Are you using the latest version of XML sitemaps? Also, I have observed that some of the pages rendered 500 internal server error, if you can provide me debug logs please, that would help. Thanks.

    Thread Starter cpaccount

    (@cpaccount)

    The version is 4.1.7.

    error details is given below :

    An error of type E_ERROR was caused in line 517 of the file /home3/cityyell/public_html/wp-content/plugins/Tevolution-LocationManager/functions/location-rewrite-rule.php. Error message: Uncaught Error: Call to undefined method GoogleSitemapGenerator::GetInstance() in /home3/cityyell/public_html/wp-content/plugins/Tevolution-LocationManager/functions/location-rewrite-rule.php:517
    Stack trace:
    #0 /home3/cityyell/public_html/wp-includes/class-wp-hook.php(308): tmpl_google_sitemap_home_url(”)
    #1 /home3/cityyell/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #2 /home3/cityyell/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home3/cityyell/public_html/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorstandardbuilder.php(408): do_action(‘sm_buildmap’)
    #4 /home3/cityyell/public_html/wp-content/plugins/google-sitemap-generator/class-googlesitemapgeneratorstandardbuilder.php(57): GoogleSitemapGeneratorStandardBuilder->build_misc(Object(GoogleSitemapGenerator))
    #5 /home3/cityyell/public_html/wp-includes/class-wp-hook.php(308): GoogleSitemapGeneratorStandardBuilder->content(Object(GoogleSitemapGenerator), ‘misc’, NULL)
    #6 /

    I reported this error to theme developer. They are asking for any specific codes in theme plugin.

    Hello @cpaccount thanks for providing the details. The naming conventions of the methods are changed in the latest version. Therefore GetInstance is now changed to get_instance . If you can please do the needful change in your theme implementation. The documentation.txt file in the root of the plugin has some more information and examples related to it, please refer them if needed. Thanks and let me know how it goes.

    Thread Starter cpaccount

    (@cpaccount)

    Thanks for your support. Theme developer followed your suggestion and found the error given below.

    Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home3/cityyell/public_html/wp-content/plugins/google-sitemap-generator/sitemap-core.php:303

    Hello @cpaccount thanks for providing the details. The naming conventions of the methods are changed in the latest version. Therefore AddUrl is now changed to add_url. If you can do the needful, it should work. Let me know if anything, thanks!

    Thread Starter cpaccount

    (@cpaccount)

    No idea what specific changes to make in our theme/plugins. If you can give sample theme who made such changes. It will be helpfull.

    Hello @cpaccount you need to refer to the documentation.txt file where we have provided revised information about our methods. Basically we had to change naming conventions of methods from camel case to snake case according to recommendations from WordPress plugin moderators. Thanks

    Thread Starter cpaccount

    (@cpaccount)

    Request you to kindly share the doc.txt file which you are referring and you have not mentioned any specific code within the theme/plugins.? Thanks

    Hello @cpaccount the documentation.txt is in the root of the plugin directory (here’s the quick access: https://plugins.trac.www.ads-software.com/browser/google-sitemap-generator/trunk/documentation.txt)

    So using the doc, you can get reference of how to use various APIs provided by the XML Sitemaps plugin and you can then implement the same in your theme. Thanks.

    Thread Starter cpaccount

    (@cpaccount)

    After making changes in theme/plugin from documentation text file, it still shows error from plugin end.

    Hi @cpaccount if you / your developer has changed the methods naming conventions, it should work. If you can please let me know if you’re still experiencing same error or some different one? Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘sub site maps showing can not read and can be read with error’ is closed to new replies.