Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Logs: Calling unknown method: craft\fields\Matrix::getBlockTypeFields() - Component.php: 308 #1536

Open
vendbits opened this issue Oct 21, 2024 · 1 comment

Comments

@vendbits
Copy link

Description

Looking in the Logs tab I see there is an error which reads:

Calling unknown method: craft\fields\Matrix::getBlockTypeFields() - Component.php: 308

I see that getBlockTypeFields() was deprecated in Craft 5.0, so I would think that this line of code should not be run since we're running Craft 5.4.8

Steps to reproduce

  1. Install Feed Me
  2. Run Feed
  3. View Logs

Additional info

  • Craft version: 5.4.8
  • PHP version: 8.3
  • Database driver & version: MySQL 8.0.17
  • Plugins & versions: Feed Me 6.5.0
@vendbits vendbits added the bug label Oct 21, 2024
@i-just
Copy link
Contributor

i-just commented Oct 28, 2024

Hi, thanks for reaching out! craft\fields\Matrix::getBlockTypeFields() was removed in Craft 5.0, and the Feed Me plugin hasn’t been using it for the Matrix field since version 6.0.0. Could you please provide details of the feed that triggers this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants