License is not activating with fresh installations in some cases #5866
Labels
Module: dashboard
module: filesystem
priority: high
Issues which should be resolved as quickly as possible
severity: critical
Defect that prevents the testing/use of the software
type: bug
Indicates an unexpected problem or unintended behavior
Milestone
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
We noticed that starting from 3.13 the license activation for fresh installations are not working in some cases, so the
licence-data.php
is removed and the license is validated in the first time but then when opening the settings page we see the license validation page which has empty fields.After digging into this I found that the license is validated at first successfully and then when dynamic lists are grabbed from our backend API and saved, we try to save the options again but seems like this is getting our settings option as empty array so the license details are removed from our options.
wp-rocket/inc/Engine/Optimization/DelayJS/Admin/SiteList.php
Lines 290 to 299 in d95ff93
To Reproduce
licence-data.php
is removed but the license details' fields are empty.Expected behavior
License should be validated properly.
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: