Error in PostContent.php:170
-
Hi, sometimes I have following error.
Would you check and solve the error?
Please let me know, if there are something that I can check.Error Type: E_ERROR
Error Message:
Uncaught Error: Call to a member function get_message() on bool in /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/content-control/classes/Controllers/Frontend/Restrictions/PostContent.php:170
Stack trace:
Uncaught Error: Call to a member function get_message() on bool in /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/content-control/classes/Controllers/Frontend/Restrictions/PostContent.php:170
Stack trace:
#0 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/class-wp-hook.php(324): ContentControl\Controllers\Frontend\Restrictions\PostContent->filter_the_excerpt_if_restricted('2023\xE5\xB9\xB4\xE5\xBA\xA6\xE3\x81\x8C\xE3\x83...', Object(WP_Post))
#1 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('2023\xE5\xB9\xB4\xE5\xBA\xA6\xE3\x81\x8C\xE3\x83...', Array)
#2 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/post-template.php(434): apply_filters('get_the_excerpt', '', Object(WP_Post))
#3 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-activity/bp-activity-filters.php(2691): get_the_excerpt(Object(WP_Post))
#4 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/class-wp-hook.php(324): bp_blogs_activity_content_with_read_more('', Object(stdClass))
#5 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters('', Array)
#6 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-activity/bp-activity-template.php(1427): apply_filters_ref_array('bp_get_activity...', Array)
#7 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-activity/bp-activity-template.php(1394): bp_get_activity_content_body()
#8 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/includes/activity/template-tags.php(217): bp_activity_content_body()
#9 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/themes/buddyboss-theme/buddypress/activity/entry.php(185): bp_nouveau_activity_content()
#10 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/template.php(812): require('/home/minamisaw...')
#11 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-core/bp-core-template-loader.php(180): load_template('/home/minamisaw...', false, Array)
#12 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-core/bp-core-template-loader.php(70): bp_locate_template(Array, true, false, Array)
#13 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/buddypress/activity/activity-loop.php(23): bp_get_template_part('activity/entry')
#14 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/template.php(810): require_once('/home/minamisaw...')
#15 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/includes/ajax.php(140): load_template('/home/minamisaw...')
#16 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/class-wp-hook.php(324): bp_nouveau_ajax_object_template_loader('')
#17 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#18 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#19 /home/minamisawa/jiyu-minamisawa.jp/public_html/wp-admin/admin-ajax.php(207): do_action('wp_ajax_nopriv_...')
#20 {main}
thrown
- You must be logged in to reply to this topic.