Is this error disabling wpforo post views?  

  RSS

stevechisnell
(@stevechisnell)
Member Customer
Joined: 5 months ago
Posts: 2
11/08/2018 12:19 am  

At some point in the last two weeks my forum posts stopped appearing. Users had previously seen posts and added, but now when I click on any forum or sub-forum, I get a frame and no post. I do receive an error message:

Fatal error: Call to a member function get_image() on boolean in /home/chisnell/public_html/wp-content/plugins/wpforo-mycred/wpforo-mc.phpon line 248  

This does not always appear, however, so I'm not certain that it's tied to th

forum

e issue.  

Am I missing a setting or something that is really basic?  Thanks in advance for the assistance!


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 12 months ago
Posts: 1384
11/08/2018 2:18 pm  

@stevechisnell,

Please do this change in the core file. Install WP Editor plugin (please don't use WordPress native plugin editor). Navigate to Dashboard > Plugins > Editor. Select wpForo - myCRED Integration plugin,  find and open the wpforo-mycred/wpforo-mc.php file. Find this code (line 247):

if ($badge->level_image !== false)

Change it to this:

if ($badge && $badge->level_image !== false)

Please let us know how it works. 


ReplyQuote
stevechisnell
(@stevechisnell)
Member Customer
Joined: 5 months ago
Posts: 2
13/08/2018 11:27 pm  

This worked completely!  Many thanks!


ReplyQuote
Share: