Have been working for many years fine, but now recently I see that wp-update-server folder is generating error_log file which has quickly grown into a 1GB in size.
These are the errors:
[23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 949 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1245 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1270 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1610 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1612 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1833 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1835 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2098 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2098 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2107 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2145 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2145 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2164 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2165 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2269 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2281 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2281 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2292 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2293 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2651 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2969
So the real issue now is this:
I tried downloading the latest version, the errors disappeared, however I noticed that now my customers are able to update even if the license key has expired.
Using the old version, if the license key had expired and user tried to update, WordPress put out this message: "Automatic update is unavailable for this plugin."
I guess I should mention that I'm protecting download links by validating license keys and depending on the key, if it is valid and active - the user is returned a plugin update link with the full plugin, but if the license has expired, the user gets a link to .zip file which only includes the readme file (containing information about the latest version and what is included) along with one .php file with the name of the plugin and only plugin header data. This is done because it is good to show users with expired licenses that there are updates and he should renew the license to download the latest version.
And the interesting issue is that one of my users was allowed to download the empty .zip which contained just the readme and one php file so now he has a plugin but it is just an empty shell :)
Any way to resolve this issue? I would like to know what could be done to make sure WordPress in these situations simply outputs "Automatic update is unavailable for this plugin." as before so nobody would be able to download the empty shell version, but still would be able to see readme file of the latest version?
Have been working for many years fine, but now recently I see that wp-update-server folder is generating error_log file which has quickly grown into a 1GB in size.
These are the errors:
[23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 949 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1245 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1270 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1610 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1612 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1833 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 1835 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2098 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2098 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2107 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2145 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2145 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2164 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2165 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2269 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2281 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2281 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2292 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2293 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2651 [23-Feb-2022 11:16:14 Europe/Riga] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /wp-content/wp-update-server/includes/extension-meta/markdown.php on line 2969So the real issue now is this:
I tried downloading the latest version, the errors disappeared, however I noticed that now my customers are able to update even if the license key has expired.
Using the old version, if the license key had expired and user tried to update, WordPress put out this message: "Automatic update is unavailable for this plugin."
I guess I should mention that I'm protecting download links by validating license keys and depending on the key, if it is valid and active - the user is returned a plugin update link with the full plugin, but if the license has expired, the user gets a link to .zip file which only includes the readme file (containing information about the latest version and what is included) along with one .php file with the name of the plugin and only plugin header data. This is done because it is good to show users with expired licenses that there are updates and he should renew the license to download the latest version.
And the interesting issue is that one of my users was allowed to download the empty .zip which contained just the readme and one php file so now he has a plugin but it is just an empty shell :)
Any way to resolve this issue? I would like to know what could be done to make sure WordPress in these situations simply outputs "Automatic update is unavailable for this plugin." as before so nobody would be able to download the empty shell version, but still would be able to see readme file of the latest version?