ACF Widgets › Support › Priority Support › Widget Factory fatal error
- This topic has 12 replies, 2 voices, and was last updated 7 years, 5 months ago by
Abi Cushman.
-
AuthorPosts
-
August 23, 2015 at 1:18 PM #2543
Abi Cushman
ParticipantHi Daron,
I’m getting a fatal error when I try to activate the plugin. (I have Version 1.4). Here is the full text of the error:
Fatal error: Access level to ACFW_Widget_Factory::__construct() must be public (as in class WP_Widget_Factory) in /Users/Abi/Sites/whs biz/wordpress/wp-content/plugins/acf-widgets/includes/ACFW_Widget_Factory.php on line 46
Any insight into this?
Thanks!
AbiAugust 24, 2015 at 8:04 AM #2549Daron Spence
KeymasterHi, that error was fixed in 1.5 which should be available as an update in your dashboard. If you’re not sewing it, you may need to click the “check now” button to clear the transients cache.
August 24, 2015 at 3:51 PM #2550Abi Cushman
ParticipantHi Daron,
I cleared the cache in the database, but it’s still not seeing an update available. I also checked on another site that I used it on to see if it was showing an update to 1.5 there, and it wasn’t.
Any advice?
Thanks!
AbiAugust 24, 2015 at 3:59 PM #2551Daron Spence
KeymasterYou can download the latest version from your purchase history here on the site. Make sure the license key is present on both of your sites.
August 24, 2015 at 4:20 PM #2554Abi Cushman
ParticipantThank you, Daron. That worked.
August 24, 2015 at 4:23 PM #2555Daron Spence
KeymasterDid you have to download it or was it a license issue?
August 24, 2015 at 5:11 PM #2556Abi Cushman
ParticipantWell for this new install, I had to just download the new version b/c I got the error when I tried to activate the plugin. (So I wasn’t able to put in the license key into the settings.)
But I checked on the other site, and the license is in there, but it says “License Key: site_inactive” for some reason. (And the submit button is to Deactivate License.) The plugin is working though, so I’m not sure what the deal is there. Should I click to deactivate it and then put the license key in again?
August 24, 2015 at 6:55 PM #2557Daron Spence
KeymasterYeah you can deactivate it and reactivate. You can also deactivate sites from here as well, I just don’t advertise the feature.
August 24, 2015 at 7:37 PM #2558Abi Cushman
ParticipantOh yes, I see now that the live site URL wasn’t in the list of Site URLs, only my local version was. I added the live site, and that solved the problem.
Thanks so much for your help!
AbiAugust 24, 2015 at 7:58 PM #2559Daron Spence
KeymasterOne final question! Did you do a database migration from your live site to the dev site? I can work on adding a buffer to double check the URL even after it’s added but I’m trying to reproduce it first 🙂
August 24, 2015 at 8:19 PM #2560Abi Cushman
ParticipantActually, I’m looking at the list of urls again, and I see what happened now. When it was on the server before it was live, we were using an IP address to populate and test the site before pointing the domain over. So it was activated for the IP address, and not the actual url. So I probably should have deactivated and reactivated the license once the site went live. I’ll do this in the future.
So I don’t know if this is possible, but perhaps there could be some sort of alert on the plugin telling people to reactivate the license if they change the WordPress Address (URL) in the settings.
August 24, 2015 at 8:23 PM #2561Daron Spence
KeymasterThat’s what I was thinking. Maybe a one time admin notice and then persist that notice to any ACFW admin pages. I’ll look into it when I get some more free time!
Thanks again for supporting the plugin and be sure to let me know if you find any more bugs/errors. 🙂
August 24, 2015 at 8:50 PM #2562Abi Cushman
ParticipantThanks, Daron, for your excellent plugin and support!
-
AuthorPosts
- The topic ‘Widget Factory fatal error’ is closed to new replies.