Posts: 4,385
Threads: 162
Joined: Jul 2010
Reputation:
138
2011-05-12, 09:29 AM
(This post was last modified: 2011-05-12, 09:32 AM by crazy4cs.)
This user has been denied support.
Hi there,
My moderator reported me that while trying to edit a certain post and clicking PREVIEW button, it fetched him this error:
Quote:Fatal error: Call to undefined method stdClass::parse_badwords() in /home/reach/public_html/inc/functions_post.php on line 157
I also tried a fresh re-upload of .inc/functions_post.php but didn't seemed to pull this off.
Now am wondering what the reason could be?
Any probably some kind off bug report or something?
Kinda worries me.
Posts: 13,283
Threads: 159
Joined: Oct 2010
Reputation:
1,291
2011-05-12, 09:32 AM
I guess you are using HTML in Posts ? if yes try to disable it.
Posts: 3,660
Threads: 137
Joined: Dec 2009
Reputation:
80
2011-05-12, 09:33 AM
Your missing a class method, are you sure your uploading the file and overwriting it?? Can you check line 157 and see if the method parse_badwords() exists??
Posts: 4,385
Threads: 162
Joined: Jul 2010
Reputation:
138
2011-05-12, 09:34 AM
(This post was last modified: 2011-05-12, 09:34 AM by crazy4cs.)
This user has been denied support.
Yes am using HTML in posts by Nervo, but its only granted to Admins, but the Moderator is not included in that privilege.
Does it still affect? If so, any way to solve it? It would affect posts randomly like this?
(2011-05-12, 09:33 AM)Shukaku Wrote: Your missing a class method, are you sure your uploading the file and overwriting it?? Can you check line 157 and see if the method parse_badwords() exists?? Yes, it does exist, this is the line 157:
$post['subject'] = $parser->parse_badwords($post['subject']);
Posts: 2,480
Threads: 38
Joined: Mar 2009
Reputation:
172
2011-05-12, 09:35 AM
(This post was last modified: 2011-05-12, 09:36 AM by - G33K -.)
You could also try uploading a fresh copy of inc/class_parser.php
EDIT: In reply to your above post, try disabling the plugin to see if it still causes the issue.
Posts: 4,385
Threads: 162
Joined: Jul 2010
Reputation:
138
2011-05-12, 09:37 AM
(This post was last modified: 2011-05-12, 09:39 AM by crazy4cs.)
This user has been denied support.
(2011-05-12, 09:35 AM)- G33K - Wrote: You could also try uploading a fresh copy of inc/class_parser.php
EDIT: In reply to your above post, try disabling the plugin to see if it still causes the issue. Nope, still same.
Ah, wait I check disabling that plugin, sec.
Yeah, thats the problem of HTML plugin by Nervo, but I really want it, any way still to overgo this situation?
Posts: 3,660
Threads: 137
Joined: Dec 2009
Reputation:
80
2011-05-12, 09:45 AM
Why do you need it? Doesn't MyBB have a default option to enable HTML?
Posts: 13,283
Threads: 159
Joined: Oct 2010
Reputation:
1,291
2011-05-12, 09:49 AM
(2011-05-12, 09:37 AM)crazy4cs Wrote: Yeah, thats the problem of HTML plugin by Nervo, but I really want it, any way still to overgo this situation?
Yeah, at first glance I guessed correctly that this is the plugin from where the error coming out. However here I've posted a plugin on your support thread at my my forums crazy4cs: http://yaldaram.com/showthread.php?tid=8...95#pid3595 .
(2011-05-12, 09:45 AM)Shukaku Wrote: Why do you need it? Doesn't MyBB have a default option to enable HTML?
Yes, there is, but I think crazy4cs wants to have this option enabled for specific groups.
Posts: 4,385
Threads: 162
Joined: Jul 2010
Reputation:
138
2011-05-12, 10:04 AM
This user has been denied support.
(2011-05-12, 09:49 AM)Yaldaram Wrote: (2011-05-12, 09:37 AM)crazy4cs Wrote: Yeah, thats the problem of HTML plugin by Nervo, but I really want it, any way still to overgo this situation?
Yeah, at first glance I guessed correctly that this is the plugin from where the error coming out. However here I've posted a plugin on your support thread at my my forums crazy4cs: http://yaldaram.com/showthread.php?tid=8...95#pid3595 .
(2011-05-12, 09:45 AM)Shukaku Wrote: Why do you need it? Doesn't MyBB have a default option to enable HTML?
Yes, there is, but I think crazy4cs wants to have this option enabled for specific groups. exactly, thanks and its working.
|