<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Cory,<br>
<br>
Well spotted. This doesn't seem to break PHP 8 installations either
(certainly not on Ubuntu 22).<br>
<br>
I'll add your patch and release an update.<br>
<br>
Thanks!<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 01/11/2022 4:13 pm, Cory Musil
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!f28b5b18772b5a9ca17d492d8991988b59d4cbda15119498b529e0ef4fbb2ae47d9d1d1337b9223ea1acd388a80e4e1c!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Seeing a new PHP error in 6.13 on Ubuntu
20.04<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PHP Fatal error: Uncaught Error: Interface
'Stringable' not found in
/opt/zendto/lib/MyCLabs/Enum/Enum.php:22<o:p></o:p></p>
<p class="MsoNormal">Stack trace:<o:p></o:p></p>
<p class="MsoNormal">#0 /opt/zendto/lib/OthersAutoload.php(12):
include()<o:p></o:p></p>
<p class="MsoNormal">#1 [internal function]: {closure}()<o:p></o:p></p>
<p class="MsoNormal">#2
/opt/zendto/lib/ZipStream/Option/Method.php(15):
spl_autoload_call()<o:p></o:p></p>
<p class="MsoNormal">#3 /opt/zendto/lib/OthersAutoload.php(12):
include('/opt/zendto/lib...')<o:p></o:p></p>
<p class="MsoNormal">#4 [internal function]: {closure}()<o:p></o:p></p>
<p class="MsoNormal">#5
/opt/zendto/lib/ZipStream/Option/Archive.php(118):
spl_autoload_call()<o:p></o:p></p>
<p class="MsoNormal">#6 /opt/zendto/lib/NSSDropoff.php(1079):
ZipStream\Option\Archive->__construct()<o:p></o:p></p>
<p class="MsoNormal">#7 /opt/zendto/lib/NSSDropoff.php(1370):
NSSDropoff->downloadPlainZip()<o:p></o:p></p>
<p class="MsoNormal">#8 /opt/zendto/www/download.php(128):
NSSDropoff->downloadFile()<o:p></o:p></p>
<p class="MsoNormal">#9 {main}<o:p></o:p></p>
<p class="MsoNormal"> thrown in
/opt/zendto/lib/MyCLabs/Enum/Enum.php on line 22<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This happens when using the “Download All
Files as a Zip” button.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looks like “Stringable” was introduced in
PHP 8 so it’s breaking on PHP 7.4<o:p></o:p></p>
<p class="MsoNormal"><a
href="https://www.php.net/manual/en/class.stringable.php"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.php.net/manual/en/class.stringable.php</a><o:p></o:p></p>
<p class="MsoNormal">I’ve been able to just remove the keyword
“Stringable” from Enum.php class definition and Zip
downloading appears to be working again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">-Cory<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> ZendTo
<a class="moz-txt-link-rfc2396E" href="mailto:zendto-bounces@zend.to"><zendto-bounces@zend.to></a> <b>On Behalf Of
</b>Jules Field via ZendTo<br>
<b>Sent:</b> Friday, October 28, 2022 4:27 AM<br>
<b>To:</b> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
<b>Cc:</b> Jules Field <a class="moz-txt-link-rfc2396E" href="mailto:Jules@Zend.To"><Jules@Zend.To></a><br>
<b>Subject:</b> [ZendTo] ANNOUNCE: New production release
6.13<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:solid black 1.0pt;padding:2.0pt 2.0pt 2.0pt
2.0pt">
<p class="MsoNormal" style="background:#FFFF80"><b><span
style="font-size:10.0pt;color:black">NOTICE:</span></b><span
style="font-size:10.0pt;color:black"> This is an external
email.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi all,<br>
<br>
After a very long wait, I have just released a new
production release of ZendTo, 6.13-1.<br>
<br>
The improvements over the previous version are relatively
minor, but importantly include updates to all the libraries
and dependencies, which fixes a few security vulnerabilities
in them.<br>
<br>
The ZendTo Installer should now also handle Ubuntu 22,
RedHat 9 and Rocky 9 correctly.<br>
<br>
And the "upgrade" command now also checks for more
configuration settings in Apache than it did, to help ensure
you're running a more secure server. It's quite talkative,
so you'll see it do it.<br>
<br>
As ever, more details in the Change Log at <a
href="https://zend.to/changelog" moz-do-not-send="true"
class="moz-txt-link-freetext">https://zend.to/changelog</a>.<br>
Downloads are available from <a
href="https://zend.to/downloads" moz-do-not-send="true"
class="moz-txt-link-freetext">https://zend.to/downloads</a>.<br>
<br>
Please report any problems / issues / questions /
suggestions as soon as possible.<br>
<br>
Thanks all for your patience!<br>
<br>
<o:p></o:p></p>
<pre>Jules<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-- <o:p></o:p></pre>
<pre>Julian Field MEng CEng CITP MBCS MIEEE MACM<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>'Learn from yesterday, live for today,<o:p></o:p></pre>
<pre> look to tomorrow, rest this afternoon.' - Charles M Schulz<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><a href="http://www.Zend.To" moz-do-not-send="true">www.Zend.To</a><o:p></o:p></pre>
<pre>Twitter: @JulesFM<o:p></o:p></pre>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Intelligence is quickness to apprehend as distinct from ability,
which is capacity to act wisely on the thing apprehended.'
- Alfred North Whitehead
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>