deve42
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Notify when database connection failsThanks but wp-content/db-error.php isn’t there anymore. Any idea where the file is now, or if there’s a better way to be notified?
Cheers,
DeveForum: Plugins
In reply to: [License Manager for WooCommerce] Updated timeThanks again for the fix!
Forum: Plugins
In reply to: [License Manager for WooCommerce] Reminder to renew license before expirationWonderful! Looking forward to the next release!
Forum: Plugins
In reply to: [License Manager for WooCommerce] Updated timeDon’t think so… I deactivated most plugins to see if it makes any difference and the remaining ones are:
Checkout Field Editor for WooCommerce
Code Snippets
License Manager for WooCommerce
WooCommerce
WooCommerce Stripe Gateway
WP Mail SMTPMade a purchase and the license key Created and Updated times are still in UTC.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Updated timeWordPress settings is set to Toronto and it displays:
Universal time is 2019-11-28 20:49:22. Local time is 2019-11-28 15:49:22.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Updated timeJust checked the Ubuntu server time with timedatectl and got:
Local time: Thu 2019-11-28 15:38:02 EST
Universal time: Thu 2019-11-28 20:38:02 UTCMade a purchase and the License keys Created and Updated times are still shown in UTC.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Deactivate from My Account pageIn this case, I’ll leave the deactivate function in the app for now and remove it once you’ve implemented this feature. Thanks again, Drazen!
Forum: Plugins
In reply to: [License Manager for WooCommerce] Deactivate from My Account pageThat’s great! I implemented deactivation from my app but thought it’s more secured if it can only be done at the site (and I’ll turn off that API).
It’s not urgent immediately but would be great if it’s available in about 2 weeks.
Thanks again!
Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorI see, thanks for clarifying. It would help if this breaking change is mentioned in the release notes.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorSo I set up a brand new test server with PHP 7.2 and it’s generating the same license without the dashes if I don’t add it manually in the Separator field.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorOk I got it fixed by adding a dash into the Separator field. Didn’t have to do this before as it is optional and the dash is default. I’ll test it more and see if everything is working.
Thanks for your help again, Drazen!
Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorYes I’ve deleted the generators a few times and recreated them. Changed the character map as well but it’s still generating licenses without the dashes.
- This reply was modified 5 years, 4 months ago by deve42.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorI put the files back and the error went away. However, there are two issues:
1) I’m using character map ABCDEFGHJKLMNPQRSTUVWXYZ123456789, with 4 chunks of length 5 and a suffix in this format: -XW8QA
The license generated is: PJZTPPJ7PJAJGACMCRXG-XW8QA
It used to generate the correct format like this one: 8U7WC-JNLEL-5J56S-EL26L-DM8PT
2) The license keys page in My-Account (/my-account/view-license-keys/) is not found (404)
Any idea what’s going on?
Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorReverted to 7.2 and it’s the same error:
2019-11-14T20:43:48+00:00 CRITICAL Uncaught TypeError: Key expected for argument 2. String given instead. in /var/www/html/wp-content/plugins/license-manager-for-woocommerce/vendor/defuse/php-encryption/src/Crypto.php:29
Stack trace:
#0 /var/www/html/wp-content/plugins/license-manager-for-woocommerce/includes/Crypto.php(128): Defuse\Crypto\Crypto::encrypt(‘N6S2UXKNB47WACP…’, ”)
#1 /var/www/html/wp-includes/class-wp-hook.php(288): LicenseManagerForWooCommerce\Crypto->encrypt(‘N6S2UXKNB47WACP…’)
#2 /var/www/html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘N6S2UXKNB47WACP…’, Array)
#3 /var/www/html/wp-content/plugins/license-manager-for-woocommerce/includes/integrations/woocommerce/Controller.php(194): apply_filters(‘lmfwc_encrypt’, ‘N6S2UXKNB47WACP…’)
#4 /var/www/html/wp-includes/class-wp-hook.php(288): LicenseManagerForWooCommerce\Integrations\WooCommerce\Controller->insertGeneratedLicenseKeys(3152, 1726, Array, 1, Object(LicenseManagerForWooCommerce\Models\Resources\Generator))
#5 /var/www/html/wp-includes/plugin.php(206): WP in /var/www/html/wp-content/plugins/license-manager-for-woocommerce/vendor/defuse/php-encryption/src/Crypto.php on line 29Forum: Plugins
In reply to: [License Manager for WooCommerce] Internal Server ErrorYes I backed up the two files and added them to wp-config.php. However, after the failed installation of the latest version (from the GitHub version), I manually deleted the settings in wp-config.php and removed all related folders and files (even checked the DB for orphan tables). So it was a clean install and I recreated generators but once I try to buy a product, checkout fails with “Internal Server Error”.
Could it be php 7.3 which I installed?