Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventcalendar error #58

Closed
1 task done
caduhsn opened this issue Dec 20, 2023 · 1 comment
Closed
1 task done

Eventcalendar error #58

caduhsn opened this issue Dec 20, 2023 · 1 comment

Comments

@caduhsn
Copy link

caduhsn commented Dec 20, 2023

Priority

Low

Area

System

What OS are you seeing the problem on?

Linux

Browser

Chrome

What happened?

O calendário de eventos não está abrindo, verifiquei no log de erros e apareceu a seguinte mensagem..
2023/12/20 09:21:45 [error] 817#817: *25842 FastCGI sent in stderr: "PHP message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/www/system/pages/eventcalendar.php on line 96" while reading response header from upstream, client: 'xxx.xxx..ipclient', server: _, request: "GET /?eventcalendar HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "ipserver", referrer: "http://ipserver/"

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luancolombo
Copy link
Contributor

Procure na linha 95 o seguinte: for($i = 0; $i < 7; $i++)
echo "".$semanas{$i}."";

substitua apenas os simbolos para ficar assim ".$semanas[$i]."";

@caduhsn caduhsn closed this as completed Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants