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

Craft.BulkEditModal is not a constructor when attempting to edit #44

Open
ctangney-tulip opened this issue Jul 19, 2022 · 4 comments
Open
Labels
bug Something isn't working

Comments

@ctangney-tulip
Copy link

Describe the bug
When selecting the "Bulk Edit" option from the dropdown, nothing happens. The following error is instead ejected to the developer console:

Uncaught TypeError: Craft.BulkEditModal is not a constructor

Steps To Reproduce

  1. Select any number of supported types
  2. Select "Bulk Edit" from the Gear / Settings dropdown
  3. Observe that the modal is not displayed
  4. Observe that an error is written to the console.

Screenshots
If applicable, add screenshots to help explain your problem.

Environmental Info

  • Craft CMS Version: 3.7.46
  • Multi-site Mode (Yes/No): No
  • Plugin Version: 2.0.6
  • PHP Version: 8
  • Database Driver (MySQL/Postgres): MySQL

Additional context
Add any other context about the problem here.

@ctangney-tulip ctangney-tulip added the bug Something isn't working label Jul 19, 2022
@Mosnar
Copy link
Contributor

Mosnar commented Jul 19, 2022

Could you try updating to at least Craft 3.7.47.1? I believe this is related to craftcms/cms#11555

@ctangney-tulip
Copy link
Author

Unfortunately, we are currently at the highest supported version for one of our critical plugins.

@Mosnar
Copy link
Contributor

Mosnar commented Jul 19, 2022

Are you sure? Going from 3.7.46 to 3.7.x really shouldn't impact other plugins.

Regardless, it doesn't look like that bug existed prior to 3.7.47, so it's probably not that issue anyway. Could you try clearing your caches, especially the cpresources cache? I just tried the plugin on 3.7.46 and didn't have any issues.

A couple other questions if that doesn't work:

  1. What type of element are you editing?
  2. Are you a site admin in the CMS?
  3. Do you have any other plugins that are modifying the element index that could be interfering?
  4. Do you see any errors in your logs when you try load the page and try to access the bulk edit modal (web.log or phperrors.log)?

@ctangney-tulip
Copy link
Author

I will have to take another look at the supported versions for our plugin list.

Clearing all caches did not seem to have any affect.

  1. Thus far, I have tried to bulk-edit Entries and Assets. I can take a look at the other supported types as well later this afternoon.
  2. I am logged in as site admin.
  3. I have included a full list of plugins below.
  4. There are no obvious errors in the web.log or php log.

Full list of plugins / versions:

"adigital/cookie-consent-banner": "^1.2",
"craftcms/cms": "3.7.46",
"craftcms/feed-me": "4.5.3",
"craftcms/redactor": "2.10.9",
"dolphiq/redirect": "^1.1",
"hillholliday/craft-user-manual": "2.1.2",
"jimstrike/craft-intercom-messenger": "^1.0",
"mmikkel/reasons": "^2.3",
"nystudio107/craft-seomatic": "^3.3",
"sebastianlenz/linkfield": "1.0.25",
"spicyweb/craft-embedded-assets": "2.11.2",
"stripe/stripe-php": "^7.79",
"studioespresso/craft-scout": "2.7.2",
"topshelfcraft/wordsmith": "3.3.2",
"venveo/craft-bulkedit": "2.0.6",
"verbb/cloner": "^1.2",
"verbb/icon-picker": "^1.1",
"verbb/smith": "1.2.3",
"verbb/super-table": "2.7.2",
"verbb/tablemaker": "dev-craft-3 as 3.0.1",
"vlucas/phpdotenv": "^2.4.0",
"yiisoft/yii2-redis": "2.0.8"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants