• SMedia

    (@smedia)


    Hi,

    Thanks for made great plugins and support it.
    Guys, I have a problem with my customs page after installed All in One SEO Pack plugins.

    Running WP 2.7.1

    I have following custom page on my site.

    mydomain.com/term.php
    mydomain.com/privacy.php
    mydomain.com/rules.php
    mydomain.com/advertising.php and more.

    My permalink format is
    /%category%/%postname%/%post_id%/

    But after installed All in One SEO Pack plugins all my custom page above broken and I got an error message like this:
    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/xxxxx/public_html/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php on line 670

    Yes I able to solve this problem with 2 different ways.
    1. I take a look on file all_in_one_seo_pack.php in line 670 and commented out this code
    `if (is_single() || is_page()) {
    if ($this->is_static_front_page()) {
    $description = trim(stripcslashes($this->internationalize(get_option(‘aiosp_home_description’))));
    } else {
    $description = $this->get_post_description($post);
    }
    } else if (is_home()) {
    $description = trim(stripcslashes($this->internationalize(get_option(‘aiosp_home_description’))));
    } else if (is_category()) {
    $description = $this->internationalize(category_description());
    }`
    The result is problem solved.Custom page working again.

    2.Before modified file above I try change my permalink from
    /%category%/%postname%/%post_id%/ to /%postname%/%post_id%/ and problem solved, all custom page working again.

    For temporary I use FIRST way, because I don’t want loose all indexed links by changing my permalink format.

    So guys, I need your help to solve my problem without modify the plugin.I am afraid with my first fix above should make some All in One SEO Pack functions doesn’t work.I can stay with temporary fix above but I need confirmation from developer to completely fix this problem.

    Thanks in advance for all help.

Viewing 1 replies (of 1 total)
  • I think the fix I submitted today will solve this, I sent the developers a copy of our update because I had the same issues.

Viewing 1 replies (of 1 total)
  • The topic ‘All in One SEO Pack Breaking Custom Page’ is closed to new replies.