Shop / e-Commerce Integration

Error in shop activing

  • Kazuo Gomi Filho
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 1 month ago - 2 years 1 month ago #1 by Kazuo Gomi Filho
Error in shop activing was created by Kazuo Gomi Filho
Hi i am getting these error

Attempt to assign property "model" on null

When i try to publish course in Joomdle: Shop

And if i try to reload from Moodle i get Call to undefined method JoomdleHelperShop::sell_courses_on_joocart()
Last edit: 2 years 1 month ago by Antonio Durán.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #2 by Antonio Durán
Replied by Antonio Durán on topic Error in shop activing
Hi.

Which shop component are you using?

ps: I deleted your access data so other users cannot see it.

Please Log in or Create an account to join the conversation.

  • Kazuo Gomi Filho
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 1 month ago #3 by Kazuo Gomi Filho
Replied by Kazuo Gomi Filho on topic Error in shop activing
I am using joocart custom integration.

And i think that i am using sensible data format ...

Please Log in or Create an account to join the conversation.

  • Kazuo Gomi Filho
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 1 month ago #4 by Kazuo Gomi Filho
Replied by Kazuo Gomi Filho on topic Error in shop activing
I made more tests and In Joomdle > Shop, wheh i try to publish one course, i get error ...

With php 8.2 the message is
When open the page: Deprecated: Creation of dynamic property JoomdleController::$item_type is deprecated in /var/www/vhosts/ct.kazuo.site/httpdocs/administrator/components/com_joomdle/controller.php on line 40

When click to publish one course: 0 Attempt to assign property "model" on null

With PHP 7.4 When open the page:
No error message

When click to publish one course:
Field 'sku' doesn't have a default value

I think that for now, the best option is work with php 7.4. But i need that the integration works with PHP 8.X too.

What can i do ... ??
Thanks in advance

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #5 by Antonio Durán
Replied by Antonio Durán on topic Error in shop activing
I don't understand.
We don't have a Joocart integration, we already talked about that.
If you have create your own integration I cannot help, sorry.

Please Log in or Create an account to join the conversation.

  • Kazuo Gomi Filho
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 1 month ago #6 by Kazuo Gomi Filho
Replied by Kazuo Gomi Filho on topic Error in shop activing
I dont understand too

I think that this error is in Joomdle and not in integration

Deprecated: Creation of dynamic property JoomdleController::$item_type is deprecated in
/var/www/vhosts/ct.kazuo.site/httpdocs/administrator/components/com_joomdle/controller.php on line 40

Am i wrong?

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #7 by Antonio Durán
Replied by Antonio Durán on topic Error in shop activing
Yes, you are correct. That's a warning in Joomdle code. I think you can safely remove that line.

Please Log in or Create an account to join the conversation.