• using latest wordpress and latest sharing-club plugin. for no reason, i get php errors and some things are completely broken (new post = blank page). deactivating the plugin solves the issues, activating it, introduces them again.
    php error message in logs :
    Got error ‘PHP message: PHP Catchable fatal error: Object of class WP_Term could not be converted to string in /path/to/wp-includes/taxonomy.php on line 2334\n’, referer: https://$domain/wp-admin/edit.php

    using php7.0 fpm & apache2. wp integrity has been checked, no malicious code. taxonomy.php is the upstream version.

    thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author netdelight

    (@netdelight)

    Hi,
    I’ve tested the plugin with the latest WP version (5.1), PHP 7.2.14 and Apache 2.4.17 and I’m not able to reproduce this error. I also tried with PHP 7.0 and it seems fine. Can you make sure that all your plugins are up to date? Are you using BuddyPress?
    Another option is to uninstall and reinstall Sharing-Club to make sure that the shared_item_category taxonomy is registered in the database.

    • This reply was modified 5 years, 8 months ago by netdelight.
    Thread Starter xinomilo

    (@xinomilo)

    upgraded to plugin version 1.3 and retried with no luck. uninstalled plugin and reinstalled, same error. error message :

    AH01071: Got error ‘PHP message: PHP Catchable fatal error: Object of class WP_Term could not be converted to string in /home/example/public_html/wp-includes/taxonomy.php on line 2506\n’, referer: https://example.org/

    website is fully upgraded, no buddypress installed. using apache 2.4.25 & php-fpm 7.0.33. also disabled all cache/stats plugins, nothing changed.

    21 installed plugins:
      A antispam-bee                 2.9.1
      I autoclear-autoptimize-cache  1.0.0
      I autoptimize                  2.4.4
      A classic-editor               1.4
      A contact-form-7               5.1.1
      A contact-form-7-image-captcha 2.4.6
      A greeklish-permalink          3.0
      A http2-server-push            1.4
      I hyper-cache                  3.3.7
      A iwp-client                   1.9.0
      A newsletter                   5.8.9
      A shariff                      4.6.1
      A sharing-club                 1.3
      I statify                      1.6.3
      A wp-fail2ban                  4.1.0
      A sitepress-multilingual-cms   4.2.0
      I wpml-string-translation      2.10.0
      I wpml-translation-management  2.8.0
      A wordpress-seo                10.0.1
      M mu-iwp-client               
      D advanced-cache.php          
    
    Legend: A = Active, I = Inactive, M = Must Use, D = Drop-In

    thanks,
    d.

    Plugin Author netdelight

    (@netdelight)

    Can you post the full error log or a screenshot of the page ?

    Thread Starter xinomilo

    (@xinomilo)

    ‘edit post’ page returns web error 500 (internal server error) and is totally blank/white. no other message in logs apart from the php one i already pasted.

    Plugin Author netdelight

    (@netdelight)

    Are you comfortable with a MySQL database ?
    If so, you can try to flush the shared items and the lendings and see if it solves the problem.
    Warning : backup your database first !
    The queries will be :

    DELETE FROM wp_comments WHERE comment_type = 'lending';
    DELETE FROM wp_posts WHERE post_type = 'shared_item';

    Let me know if it works.

    • This reply was modified 5 years, 7 months ago by netdelight.
    • This reply was modified 5 years, 7 months ago by netdelight.
    • This reply was modified 5 years, 7 months ago by netdelight.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘breaks site’ is closed to new replies.