<div dir="ltr">Hi Tom,<div>If you got same error like "<span style="color:rgb(0,0,0);white-space:pre-wrap">Deprecated: Required parameter $ignoreFilters follows optional parameter $packageName " ,</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">It seems like you are still using PHP 8. After </span>downgraded to PHP 7.4, you need to install PHP 7.4 dependencies as well.</div><div>Try these steps :</div><div><ol style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px"><li style="box-sizing:border-box;margin-top:0.25em"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px">sudo apt-get install -y php7.4 php7.4-mysql php7.4-xml php7.4-json php7.4-mbstring php7.4-gd php-ast</code></li><li style="box-sizing:border-box;margin-top:0.25em"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px">sudo apt-get install -y composer</code></li><li style="box-sizing:border-box;margin-top:0.25em"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px">sudo apt-get install -y libapache2-mod-php7.4</code></li><li style="box-sizing:border-box;margin-top:0.25em"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px">sudo </code>a2dismod php8.0</li><li style="box-sizing:border-box;margin-top:0.25em"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px">sudo a2enmod php7.4</code></li><li style="box-sizing:border-box;margin-top:0.25em"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px">sudo service apache2 restart</code></li></ol></div><div>7, make clean</div><div>8, make</div><div>Good luck.</div><div>Best </div><div>Shen</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 4 Feb 2021 at 15:05, Tom Beaudry <<a href="mailto:waveflux@gmail.com">waveflux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey Shen,<div><br></div><div>I downgraded to php 7.4 and get the same results.</div><div><br></div><div>What can i try next?</div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 2:01 PM Shen Wang <<a href="mailto:wangshen.mcin@gmail.com" target="_blank">wangshen.mcin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Tom,<div>We don't support PHP 8 with Loris yet. We are working on it.  For the 23.0-release, you have to use PHP 7.3 or 7.4.</div><div>Best</div><div>Shen</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 4 Feb 2021 at 13:50, Tom Beaudry <<a href="mailto:waveflux@gmail.com" target="_blank">waveflux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey Shen,<div><br></div><div>Unfortunately it didn't work.  Here's the output:  <a href="https://pastebin.com/raw/ZQjPuAG1" target="_blank">https://pastebin.com/raw/ZQjPuAG1</a></div><div><br></div><div>I'm using php8.</div><div><br></div><div>Thanks,</div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 1:40 PM Shen Wang <<a href="mailto:wangshen.mcin@gmail.com" target="_blank">wangshen.mcin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Tom,<div>You are welcome. I think that you need to remove all the vendor files. </div><div>Try  step 1: "make clean"    (delete all the vendor and <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre-wrap">node_modules</span>)</div><div>       step 2: "make"             ( run composer install and npm install ...)</div><div>If it still can't work, could you tell me which PHP version are you using?</div><div>Best </div><div>Shen</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 4 Feb 2021 at 13:29, Tom Beaudry <<a href="mailto:waveflux@gmail.com" target="_blank">waveflux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Shen,<div><br></div><div>Thanks for the answer:  Composer install gives me the following error:</div><div><br></div><div>[lorisadmin@loris loris]$ composer install<br>PHP Deprecated:  Required parameter $ignoreFilters follows optional parameter $packageName in phar:///usr/local/bin/composer/src/Composer/Command/ArchiveCommand.php on line 97<br><br>Deprecated: Required parameter $ignoreFilters follows optional parameter $packageName in phar:///usr/local/bin/composer/src/Composer/Command/ArchiveCommand.php on line 97<br>Deprecation Notice: Required parameter $path follows optional parameter $schema in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php:53<br>Deprecation Notice: Required parameter $path follows optional parameter $schema in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php:97<br><br><br>  [ErrorException]<br>  Trying to access array offset on value of type null</div><div><br></div><div>Best,</div><div>Tom<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 1:13 PM Shen Wang <<a href="mailto:wangshen.mcin@gmail.com" target="_blank">wangshen.mcin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Tom,<div>You need to re-run " composer install " to solve this issue.</div><div>Good Luck.</div><div>Best</div><div>Shen </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 4 Feb 2021 at 13:01, Tom Beaudry <<a href="mailto:waveflux@gmail.com" target="_blank">waveflux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey Guys,<div><br></div><div>I decided to upgrade LORIS v22 to v23 and I ran into this apache error when i navigate to the homepage in my web browser:</div><div><br></div><div>[Thu Feb 04 12:52:22.608901 2021] [php7:warn] [pid 5215] [client <a href="http://172.16.253.6:62122" target="_blank">172.16.253.6:62122</a>] PHP Warning:  session_start(): Setting option 'cookie_samesite' failed in /var/www/loris/php/libraries/NDB_Client.class.inc on line 147</div><div><br>[Thu Feb 04 12:52:22.610434 2021] [php7:error] [pid 5215] [client <a href="http://172.16.253.6:62122" target="_blank">172.16.253.6:62122</a>] PHP Fatal error<b>:  Uncaught Error: Class 'Laminas\\Diactoros\\ServerRequestFactory'</b> not found in /var/www/loris/htdocs/index.php:35\nStack trace:\n#0 {main}\n  thrown in /var/www/loris/htdocs/index.php on line 35<br></div><div><br></div><div><br></div><div>It seems that the server request is failing:</div><div><br></div><div><table style="border-spacing:0px;border-collapse:collapse;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box;background-color:initial"></tr><tr style="box-sizing:border-box"><td style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre-wrap"><span style="box-sizing:border-box"><span style="box-sizing:border-box">$</span>serverrequest</span> = \<span style="box-sizing:border-box"><span style="box-sizing:border-box;border-radius:6px;font-weight:600;display:inline-block">Laminas</span></span>\<span style="box-sizing:border-box"><span style="box-sizing:border-box;border-radius:6px;font-weight:600;display:inline-block">Diactoros</span></span>\<span style="box-sizing:border-box"><span style="box-sizing:border-box;border-radius:6px;font-weight:600;display:inline-block">ServerRequestFactory</span></span>::<span style="box-sizing:border-box">fromGlobals</span>();</td></tr><tr style="box-sizing:border-box;background-color:initial"><td style="box-sizing:border-box;padding:0px;width:50.4px;min-width:50px;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;line-height:20px;text-align:right;white-space:nowrap;vertical-align:top"><a href="https://github.com/aces/Loris/blob/11e6780c0d0e2f4e33ee915f8258f9222c314892/htdocs/index.php#L36" style="box-sizing:border-box;background-color:initial;color:inherit;text-decoration-line:none;padding:0px 10px" target="_blank">36</a></td></tr></tbody></table><br></div><div>Any help would be greatly appreciated!</div><div>Tom</div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136)">Shen Wang<br></div><div style="color:rgb(136,136,136)"><font size="2"><a href="https://github.com/aces/Loris" target="_blank">Loris</a>  Developer</font></div><div style="font-size:13px;color:rgb(136,136,136)">Montreal Neurological Institute </div><div style="font-size:13px;color:rgb(136,136,136)">McGill University</div><div style="font-size:13px;color:rgb(136,136,136)"><br></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136)">Shen Wang<br></div><div style="color:rgb(136,136,136)"><font size="2"><a href="https://github.com/aces/Loris" target="_blank">Loris</a>  Developer</font></div><div style="font-size:13px;color:rgb(136,136,136)">Montreal Neurological Institute </div><div style="font-size:13px;color:rgb(136,136,136)">McGill University</div><div style="font-size:13px;color:rgb(136,136,136)"><br></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136)">Shen Wang<br></div><div style="color:rgb(136,136,136)"><font size="2"><a href="https://github.com/aces/Loris" target="_blank">Loris</a>  Developer</font></div><div style="font-size:13px;color:rgb(136,136,136)">Montreal Neurological Institute </div><div style="font-size:13px;color:rgb(136,136,136)">McGill University</div><div style="font-size:13px;color:rgb(136,136,136)"><br></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136)">Shen Wang<br></div><div style="color:rgb(136,136,136)"><font size="2"><a href="https://github.com/aces/Loris" target="_blank">Loris</a>  Developer</font></div><div style="font-size:13px;color:rgb(136,136,136)">Montreal Neurological Institute </div><div style="font-size:13px;color:rgb(136,136,136)">McGill University</div><div style="font-size:13px;color:rgb(136,136,136)"><br></div></div></div>