Strange behavior after new version of TapaTalk (double posts with page "hanging in the air")
I installed TapaTalk, latest version (5.3.1). After that I had strange behavior with forum after writing some (not all) posts.
After replying page "hangs in the air", I need to reload page. After I do that, I see that there are two posts in same second, or second apart, basically almost at the same time.
The reason I write to you is this info in error.log:
[Mon Dec 01 22:31:37 2014] [error] [client 109.245.58.20] PHP Fatal error: Call to a member function fetch() on a non-object in /var/www/vhosts
/slobodni.net/httpdocs/vault/plugins/bbcode.php on line 50, referer:
http://slobodni.net/
[Mon Dec 01 22:35:35 2014] [error] [client 89.201.187.48] PHP Fatal error: Call to a member function fetch() on a non-object in /var/www/vhosts
/slobodni.net/httpdocs/vault/plugins/bbcode.php on line 50, referer:
http://slobodni.net/t121682/
[Mon Dec 01 22:35:36 2014] [error] [client 89.201.187.48] PHP Fatal error: Call to a member function fetch() on a non-object in /var/www/vhosts
/slobodni.net/httpdocs/vault/plugins/bbcode.php on line 50, referer:
http://slobodni.net/t121682/
Post before is from one of my moderators, she said that she had double posts, but not "hanging in the air". In my post there was some BBcode, but in hers wasn't, just "pure" text.
I'm not sure if TapaTalk somehow can trigger this behavior? Before I didn't had exactly this behavior, but there were double posts from some time to time (but not for me, and "hanging in the air" wasn't at all).
HTML Code:
if (is_class_type($parser_class, 'wiki') AND !wiki_only_bbcode())
{
$parser_rules = 'parse_wiki';
}
else
{
$parser_rules = 'parse_nonwiki';
}
$vault->misc['tag_options'] = array();
if ($parser->registry->bbcodecache === null)
{
LINE 50-> $parser->registry->datastore->fetch(array('bbcodecache'));
}
foreach ($parser->registry->bbcodecache AS $code)
{
$tag = strtolower($code['bbcodetag']);
$vault->misc['tag_options']["$tag"] = $code['wikioptions'];
if ($code['wikioptions'] & $vault->misc['wikioptions']["$parser_rules"])
{
unset($parser->tag_list['no_option']["$tag"]);
unset($parser->tag_list['option']["$tag"]);
}
}
I marked line 50 in the code, in case you don't have older versions of VW (it's 3.0.20).
I'm just asking for your opinion, if that's possible and what's going on, if you have any idea.