Support » Plugin: Shareaholic | share buttons, related posts, social analytics & more » Page of error 404 does not work with version 7.6.0.0

  • Resolved Carlos

    (@carmabel)


    I have 4 websites with Shareaholic plugin. In 3 of them I just updated the plugin to version 7.6.0.0 and immediately in the 3 websites page 404 does not work.

    When a URL should be routed to the “not found” because of a 404 error message appears on a blank page:

    “Fatal error: Call to undefined function is_product_category () in /home/…../public_html/mydomain.com/wp-content/plugins/shareaholic/utilities.php on line 354”

    On the website I have Shareaholic version 7.5.1.0, the page 404 works perfectly.

    Please review the latest update

    https://wordpress.org/plugins/shareaholic/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I can confirm this. Same goes for the rss feed page.
    “Fatal error: Call to undefined function is_product_category()”

    I too just realized this plugin got updated today and am getting this error message when I try to use another plugin ‘social networks auto poster’

    Fatal error: Call to undefined function is_product_category() in /home/content/p3nexnas06_data02/68/2167068/html/wp-content/plugins/shareaholic/utilities.php on line 354

    Hopefully this will get resolved! I really like the Shareaholic plugin, looks so much better than other related posts plugins!

    Plugin Author Shareaholic

    (@shareaholic)

    @all we should have a fix released in the next 30 minutes. Thank you for your patience!

    Yep I can confirm this on both my sites (Multisite each in english and romanian) Sfaturi IT and Diverse Lucruri (I am in testing so this doesn’t affect me much)

    I’m on nginx and the error is 500(Internal server erorr) ” Call to undefined function is_product_category ” on shareaholic/utilities.php on line 354 and the affected line is // elseif (is_category() || is_author() || is_tag() || is_date() || is_product_category() || is_product_tag()) // I think that both functions is_product_category and is_product_tag are undefined.

    Probably your feed site.com/feed/ will not work(If you have some service depending on your rss feed you should check it out). It didn’t for me, also when I tried to post I was receiving a white screen, but the posts appeared on my site…

    My solution was to downgrade to shareaholic.7.5.1.0 util the problem is fixed, but I thing that if you replace the line with // elseif (is_category() || is_author() || is_tag() || is_date()) // it should work..

    Plugin Author Shareaholic

    (@shareaholic)

    @all v7.6.0.1 has been released! It should fix this bug. Please upgrade and let us know!

    It works. Thanks for the quick fix!

    Plugin Author Shareaholic

    (@shareaholic)

    @elpju perfect!

    It works. Wow very very fast fix. Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Page of error 404 does not work with version 7.6.0.0’ is closed to new replies.