error when sending message to members

chocodz

Active member
Registered
Joined
Jul 5, 2020
Messages
31
Points
18

Reputation:

XF\Db\Exception: MySQL query error [1364]: Field 'purchase_type' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 79
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 220
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1521
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1253
  7. XF\Mvc\Entity\Entity->save() in src/XF/Service/Conversation/Creator.php at line 227
  8. XF\Service\Conversation\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
  9. XF\Service\Conversation\Creator->save() in src/XF/Pub/Controller/Conversation.php at line 328
  10. XF\Pub\Controller\Conversation->actionAdd() in src/XF/Mvc/Dispatcher.php at line 352
  11. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  12. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
  15. XF\App->run() in src/XF.php at line 524
  16. XF::runApp() in index.php at line 20

how to solve that please
 

Genesisdude

Member
Registered
Joined
Apr 2, 2022
Messages
10
Points
13

Reputation:

What plugins do you have installed on your forum? Could be a issue with one of the plugins. If you have any installed, try disabling them one by one to figure out which one is causing this issue.
 

chocodz

Active member
Registered
Joined
Jul 5, 2020
Messages
31
Points
18

Reputation:

What plugins do you have installed on your forum? Could be a issue with one of the plugins. If you have any installed, try disabling them one by one to figure out which one is causing this issue.
GenesisdudeI tried to disable them all and same error
 

chocodz

Active member
Registered
Joined
Jul 5, 2020
Messages
31
Points
18

Reputation:

@Splicho can u check that please 🙏
 

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
656
Points
103

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,521
Points
523

Reputation:

Set the default value for the field purchase_type
How did you disabled all addons to see if the problem is not raised of one of these?
 

chocodz

Active member
Registered
Joined
Jul 5, 2020
Messages
31
Points
18

Reputation:

Set the default value for the field purchase_type
How did you disabled all addons to see if the problem is not raised of one of these?
BattleKingi disabled all addon and i still cant send message to members
 
View previous replies…

chocodz

Active member
Registered
Joined
Jul 5, 2020
Messages
31
Points
18

Reputation:

list your install addon here.
thomsaHere you are
Screenshot_20231009_181620_Edge.jpg Screenshot_20231009_181636_Edge.jpg
 

shqawe

Well-known member
Registered
Joined
Jun 30, 2019
Messages
63
Points
28

Reputation:

If you can enable development mode then you can go to class extensions page and see which addon is extend conversation class and disable the class extension from the same page because if you don't uninstall the addon the extended class will be extended even when the addon is disabled.
 

chocodz

Active member
Registered
Joined
Jul 5, 2020
Messages
31
Points
18

Reputation:

If you can enable development mode then you can go to class extensions page and see which addon is extend conversation class and disable the class extension from the same page because if you don't uninstall the addon the extended class will be extended even when the addon is disabled.
shqaweLike that ? Screenshot_20231009_224715_Edge.jpg
 
View previous replies…
Top