Corrected bugs:
- Argument 1 passed to XF\Mvc\Entity\Entity::addCascadedSave() must be an instance of XF\Mvc\Entity\Entity, null given, called in src/addons/XFA/RMMarketplace/Pub/controller/Dashboard.php on line 86
Corrected bugs:
- ErrorException: Template error: [E_WARNING] Attempt to read property "group_id" on null src/addons/XFA/RMMarketplace/Listener.php:175
Corrected bugs:
- Error when installing from an old version: XF\Db\InvalidQueryException: xfa_rmmp_transaction: MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STATUS('initialized', 'pending', 'completed', 'expired', 'pending_manual') NOT N' at line 2 in src/XF/Db/AbstractStatement.php at line 228
Corrected bugs:
- Can't edit resource image when display on index is the only option active
Corrected bugs:
- Users without the permission could see all sales in overall last sales/overall top sales widgets
- Users with download all permission cant download old versions
- Purchases tab shown on resource page while user has no right to see purchases log
Modification:
- Upload of resource image directly upon resource creation
Corrected bugs:
- Error with threads not linked to a resource anymore : ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/XFA/RMMarketplace/XF/Entity/Thread.php:35
Corrected bugs:
- InvalidArgumentException: Unknown column active on XFRM:ResourceVersion src/XF/Mvc/Entity/Finder.php:1569
Corrected bugs:
We highly recommend you upgrade to the latest version !
- Race condition could lead to registered users able to download resources
I have fixed it myself and has nothing to do with the official plugin.
Compatible with Xenforo 2.1.0
I don't know if there will be an unknown error, please test it yourself when you update.
Fix bug
- ErrorException: [E_WARNING] Declaration of XFA\RMMarketplace\XFRM\Admin\Controller\Category::categorySaveProcess(XF\Entity\AbstractCategoryTree $category) should be compatible with XFRM\Admin\Controller\Category::categorySaveProcess(XFRM\Entity\Category $category) in src/addons/XFA/RMMarketplace/XFRM/Admin/Controller/Category.php at line 77
Corrected bugs:
- Please enter a number that is at least 0 error when purchasing an out of stock resource
- ErrorException: [E_WARNING] Creating default object from empty value in src/addons/XFA/RMMarketplace/Service/Purchase/Refund.php at line 37