InvalidArgumentException: Unknown column payment_profile_ids on Z61\Classifieds:Listing in src/XF/Mvc/Entity/Finder.php at line 1569
- XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn() in src/XF/Mvc/Entity/Finder.php at line 595
- XF\Mvc\Entity\Finder->columnSqlName() in src/addons/Z61/Classifieds/Purchasable/Listing.php at line165
- Z61\Classifieds\Purchasable\Listing->getPurchasablesByProfileId() insrc/XF/Admin/Controller/PaymentProfile.php at line 153
- XF\Admin\Controller\PaymentProfile->actionDelete() in src/XF/Mvc/Dispatcher.php at line 321
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
- XF\App->run() in src/XF.php at line 390
- XF::runApp() in admin.php at line 13
This is caused by code in
\Z61\Classifieds\Purchasable\Listing::getPurchasablesByProfileId()
:
PHP:
$finder = \XF::finder('Z61\Classifieds:Listing');
$quotedProfileId = $finder->quote($profileId);
$columnName = $finder->columnSqlName('payment_profile_ids');
Such a column (payment_profile_ids) does not exist.