WordPress.org

Support

Support » Plugins and Hacks » Transposh WordPress Translation » [Resolved] Error with the line to insert in google sitemap generator

[Resolved] Error with the line to insert in google sitemap generator

  • Hello, i want to insert the line that i must to put for make a language in the sitemap. I put this after AddElement):
    do_action(‘sm_addurl’, $page);

    So the code is this now:

    function AddElement(&$page) {
    do_action(‘sm_addurl’, $page);
    if(empty($page)) return;

    $s = $page->Render();

    if($this->_fileZipHandle && $this->IsGzipEnabled()) {
    gzwrite($this->_fileZipHandle,$s);
    }

    if($this->_fileHandle && $this->GetOption(“b_xml”)) {
    fwrite($this->_fileHandle,$s);
    }
    }
    And i see this bug:

    Fatal error: Call to undefined method GoogleSitemapGeneratorXmlEntry::GetUrl() in /home/cssbloes/domains/cssblog.es/public_html/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_3rdparty.php on line 181

    What happen?

    Thanks.

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ofer Wald

    @oferwald

    Well, it has been a long time since I touched this patch, I am quite sure you didn’t place it in the most accurate location.

    Solutions:
    * Use the latest beta version
    * Use on older patched version
    * Wait for me to patch it
    * Patch properly 🙂

    Good luck

    Hello, can you patch it? Thanks.

    Plugin Author Ofer Wald

    @oferwald

    Yes, but not for free 🙂

    I am not using that version any more, and setting up the environment and testing it will take my time, which I aim to value.

    This is exactly the reason a paid support option was added, if you really want this, you can pay for it.

    I still suggest you upgrade to version 4 beta of that plugin, much better

    The version beta doesn’t work fully for me, so i need to use the estable version. But if i can’t send the translate urls to the sitemap, i can’t get satisfied because is very important to me to send the translated urls to google.

    Thanks.

    I want to work with the beta to make the urls work but in the beta many of the options in the admin have been dissapear, so i need to wait for future versions.

    Thanks.

    Plugin Author Ofer Wald

    @oferwald

    So your choices are:
    * use an older patched version
    * wait till I patch it (because you want to pay for it, or someone else will)
    * do it yourself

    Good luck

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Error with the line to insert in google sitemap generator’ is closed to new replies.
Skip to toolbar