This is a major update, with some significant changes:
- The solution prefix is now independent of the thread prefix - you can have both the solution prefix and the thread prefix apply
- The solution prefix is now retroactive
- Multiple new permissions
- Mark solution on others threads
- Mark own post the solution
- This is automatically granted on upgrade to those that hold the mark post as solution permission
- The default for new...
- Change the system used for the profile solutions tab
- Fix a few bugs
A server error occurred. Please try again later.
Fatal error: Cannot use XF\Entity\Post as Post because the name is already in use in /home/httpd/d/a/r/dark3hack/www.hack-shop.net/src/addons/LiamW/ThreadSolutions/XF/Repository/Thread.php on line 5
It asks me to : Please enter a valid XenForo license validation token. But, where can I enter it ? I do not see the case.I've disabled the CAPTCHA, could you try again?
Liam
ErrorException: [E_WARNING] Creating default object from empty value in src/addons/LiamW/ThreadSolutions/XF/Entity/Post.php at line 117
XF::handlePhpError() in src/addons/LiamW/ThreadSolutions/XF/Entity/Post.php at line 117
LiamW\ThreadSolutions\XF\Entity\Post->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1517
XF\Mvc\Entity\Entity->delete() in src/XF/Service/Post/Deleter.php at line 95
XF\Service\Post\Deleter->delete() in src/addons/Snog/TV/XF/Service/Post/Deleter.php at line 61
Snog\TV\XF\Service\Post\Deleter->delete() in src/XF/Pub/Controller/Post.php at line 264
XF\Pub\Controller\Post->actionDelete() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 328
XF::runApp() in index.php at line 13
Error when attempting to delete post made by deleted member
Code:ErrorException: [E_WARNING] Creating default object from empty value in src/addons/LiamW/ThreadSolutions/XF/Entity/Post.php at line 117 XF::handlePhpError() in src/addons/LiamW/ThreadSolutions/XF/Entity/Post.php at line 117 LiamW\ThreadSolutions\XF\Entity\Post->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1517 XF\Mvc\Entity\Entity->delete() in src/XF/Service/Post/Deleter.php at line 95 XF\Service\Post\Deleter->delete() in src/addons/Snog/TV/XF/Service/Post/Deleter.php at line 61 Snog\TV\XF\Service\Post\Deleter->delete() in src/XF/Pub/Controller/Post.php at line 264 XF\Pub\Controller\Post->actionDelete() in src/XF/Mvc/Dispatcher.php at line 249 XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88 XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41 XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931 XF\App->run() in src/XF.php at line 328 XF::runApp() in index.php at line 13
- Added alert (and alert opt-out) for when a post is marked as a solution
- Added 'Solutions' count to user stats (appears on member tooltip, and member profile page)
- Fixed some small bugs
Error when attempting to delete post made by deleted member
Code:ErrorException: [E_WARNING] Creating default object from empty value in src/addons/LiamW/ThreadSolutions/XF/Entity/Post.php at line 117 XF::handlePhpError() in src/addons/LiamW/ThreadSolutions/XF/Entity/Post.php at line 117 LiamW\ThreadSolutions\XF\Entity\Post->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1517 XF\Mvc\Entity\Entity->delete() in src/XF/Service/Post/Deleter.php at line 95 XF\Service\Post\Deleter->delete() in src/addons/Snog/TV/XF/Service/Post/Deleter.php at line 61 Snog\TV\XF\Service\Post\Deleter->delete() in src/XF/Pub/Controller/Post.php at line 264 XF\Pub\Controller\Post->actionDelete() in src/XF/Mvc/Dispatcher.php at line 249 XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88 XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41 XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931 XF\App->run() in src/XF.php at line 328 XF::runApp() in index.php at line 13
This update includes a major refactor of the 'solution count' system, which was very bugged in previous releases.
Solution counts now respect the visibility of both the thread and the message.
Upon upgrade, solution counts will be re-built.
Theliamw_threadsolutions_has_solution
field has been removed in 2.3.0, and is superseded by theSolutions
relation, which checks for message visibility. Please use...
INSERT INTO `xf_thread` (`title`, `node_id`, `user_id`, `username`, `post_date`, `thread_id`, `reply_count`, `view_count`, `sticky`, `discussion_state`, `discussion_open`, `discussion_type`, `first_post_id`, `last_post_date`, `last_post_id`, `last_post_user_id`, `last_post_username`, `first_post_likes`, `prefix_id`, `custom_fields`, `tags`, `liamw_threadsolutions_has_solution`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(160): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1389): XF\Db\AbstractAdapter->insert('xf_thread', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1121): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/XF/Service/Post/Mover.php(141): XF\Mvc\Entity\Entity->save()
#8 src/XF/InlineMod/Post/Move.php(39): XF\Service\Post\Mover->move(Array)
#9 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\Post\Move->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#10 src/XF/Pub/Controller/InlineMod.php(131): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#11 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#13 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#15 src/XF.php(328): XF\App->run()
#16 index.php(13): XF::runApp('XF\\Pub\\App')
#17 {main}
Fix error when creating/modifying thread.
We use essential cookies to make this site work, and optional cookies to enhance your experience.