
-
AuthorPosts
-
February 3, 2020 at 3:52 pm #1180955
Hi there,
Sorry for bothering you I seem to be having an issue with enfold blocking another plugins functionality. The theme and plugin played nicely together when the site was initially built, but is preventing toolset’s image upload forms now. We’re getting the following console errorUncaught TypeError: Cannot read property ‘model’ of undefined
at Toolset.CRED.MediaField.self.setParentId (media_manager.js?ver=2.5.3:220)
at Toolset.CRED.MediaField.Toolset.Common.MediaField.manageInputSelectorClick (toolset-media-field.prototype.js?ver=3.5.2:226)
at HTMLInputElement.<anonymous> (toolset-media-field.prototype.js?ver=3.5.2:84)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)Which goes away when switching back to one of the default themes. Is there anything that can be done? I’m trying to find an older version of the theme as a short term fix but was wondering if there’s a more permanent fix I can do?
February 3, 2020 at 4:02 pm #1180963I had a reply from the plugin developer who said the js files used by the plugin were being moved to the uploads directory. I tried dissabling all other plugins and the siteground cache plugin but the only thing that enabled the image upload field again was to switch theme.
February 3, 2020 at 9:24 pm #1181057Hi lameframe,
I am getting a 404 on that page. Did you delete the page already?
Best regards,
VictoriaFebruary 4, 2020 at 10:22 am #1181205Hi there sorry, was private. I’ve opened it up now. I have found out something odd in the mean time. the upload buttons work ok when you are logged out, but break when you’re logged in. I’ve switched back to 2019 and verified that they work without issue when logged in. I’ve not got any of the minimisation setting on and I’ve deleted my siteground cache plugin. Do you have any ideas about what enfold might be up to? TBH I don’t think it’s 100% enfold as I’ve gone back a fair few version to nov 2018 and the issue persists but it a contributing factor, as can be seen bu using 2019.
February 9, 2020 at 4:24 pm #1182774Hi,
Sorry for the late reply, you said that the Toolset author said that the js files used by the plugin were being moved to the uploads directory, and that is causing the issue? When I look at your site I see them in a directory named “siteground-optimizer-assets”
but you said that you deleted the siteground cache plugin?
If Toolset needs the js files to be in a certain directory can you copy them there via FTP?Best regards,
MikeFebruary 10, 2020 at 10:30 am #1182979Sorry, I should likely have meant deactivated. I suppose we could move them via FTP but we’d have to do it every time the plugin was updated. There was a further development since since my last post in that it only seems to happen when a user is signed in. Enfold didn’t move the files when the forms were used by a guest. For now the toolset developers have helped turn off the media library functions for my upload fields. The sites being rebuilt on a custom platform later this year so we’re not looking spend a huge amount of time polishing. The toolset guys are looking to see if they can put a work around in to work with Enfold better.
February 10, 2020 at 1:19 pm #1183029Hi,
Ok, but Enfold didn’t move the files to the directory “siteground-optimizer-assets” as in the screenshot above.Best regards,
MikeFebruary 10, 2020 at 3:16 pm #1183084I’m not sure where the JS was being moved to, the devs didn’t mention that folder specifically. they just said the uplouds folder. I don’t think it was the SG optimiser as that wasn’t active at the time. In any case it wasn’t happening with 2019 so I don’t know if it was some minification thing, or just a bad combination, but in any case we found a work around.
February 10, 2020 at 4:30 pm #1183135Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.