500 Internal Server Error

About my port of nickvergessen's phpBB Gallery.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Mařena
Posts: 4
Joined: 30 Mar 2016, 13:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

500 Internal Server Error

Post by Mařena » 30 Mar 2016, 13:44

My Gallery was working, but after some upgrade it stops work and I get 500 Internal Server Error.
Some help?

Lucifer
Site Admin
Posts: 73
Joined: 14 Nov 2014, 10:39
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by Lucifer » 07 Apr 2016, 07:20

This is work in progress, so just upgrade again. It should work now.

Mařena
Posts: 4
Joined: 30 Mar 2016, 13:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by Mařena » 07 Apr 2016, 15:17

Disable extension, upload FTP last version files, enable extension, clean cache but still the same.
Downloaded from https://github.com/satanasov/phpbbgalle ... master.zip
Portal, download extension works.
http://www.bts-support.cz/gallery

Mařena
Posts: 4
Joined: 30 Mar 2016, 13:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by Mařena » 02 May 2016, 11:12

Help please!!!

Mařena
Posts: 4
Joined: 30 Mar 2016, 13:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by Mařena » 03 May 2016, 16:05

After upgrade phpBB 3.1.8 to 3.1.9 Gallery starts working fine

BazzaE73
Posts: 2
Joined: 28 Sep 2015, 03:44
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by BazzaE73 » 07 May 2016, 17:02

I've just installed the Gallery extension using the latest download mentioned above. I am unable to create an album in ACP, I get HTTP error 500. I'm running phpBB 3.1.9

Explode!
Posts: 4
Joined: 14 Dec 2015, 01:27
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by Explode! » 02 Aug 2017, 14:09

I had this in 3.1.10 after I pulled the latest repo, whole board went down with server error 500.

To restore access I had to hard disable the extension by updating the ext table in the database and removing the new files from the extension directory. I put back the original files and re-enabled the extension and the board is working fine again.

Maybe I need to update the board before updating the extension again.

Lucifer
Site Admin
Posts: 73
Joined: 14 Nov 2014, 10:39
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: 500 Internal Server Error

Post by Lucifer » 07 Sep 2017, 14:53

Explode! wrote:
02 Aug 2017, 14:09
I had this in 3.1.10 after I pulled the latest repo, whole board went down with server error 500.

To restore access I had to hard disable the extension by updating the ext table in the database and removing the new files from the extension directory. I put back the original files and re-enabled the extension and the board is working fine again.

Maybe I need to update the board before updating the extension again.
Latest master is for 3.2 ... please use latest branch you can see.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 0 guests