Planner Modul

Hi, Admin and Ross,

I always have error “Oh no! Something has gone wrong: the Gibbons have escaped!” every time I make a changes in a Learn → Planner. I Change “Ordering” → error, I Change “Name” → error.

Thank you for your help.

Regards,
Imam Nursianto

For more information, this is in Unit Planner

Thx
Imam Nursianto

Hi Imam,

Please can you check your PHP error logs to see if there is an entry relating to this Gibbon error? There should be!

Also, if you can let us know what PHP and MySQL version you are running, that would be useful. You can look into Admin > System Admin for this information.

Thanks,

Ross

Here is my php and mysql version:

[u1749322@srv155 ~]$ php -v
PHP 8.0.15 (cli) (built: Jan 19 2022 06:07:43) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.15, Copyright (c) Zend Technologies
with Zend OPcache v8.0.15, Copyright (c), by Zend Technologies
[u1749322@srv155 ~]$ mysql -V
mysql Ver 15.1 Distrib 10.5.15-MariaDB, for Linux (x86_64) using readline 5.1

where is the php error, I already set to display on, but in the system still off.

Thx,
Imam Nursianto

Or…you it be this?

[26-Feb-2022 13:14:16 Asia/Jakarta] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home/u1749322/public_html/sms/modules/Planner/units_editProcess.php:158
Stack trace:
#0 {main}
thrown in /home/u1749322/public_html/sms/modules/Planner/units_editProcess.php on line 158

Thx
Imam Nursianto

Hi Imam, thanks, this information is perfect. You are using PHP 8.0.15, and so this should work. We’ve not had any other notifications of errors on this page, and so whilst it seems like a bug, it might not be affecting everyone. I’m going to ask @ross to take a look into this in the coming few days and get back to you. Thanks! Ross.

Hi Sandra, would you mind looking to see if you can replicate this issue? Thanks!

Also I have the same error System Admin → System Check.

here is the error_log:

[27-Feb-2022 11:23:48 Asia/Jakarta] Uncaught Exception: Error - Call to undefined function exec() in /home/u1749322/public_html/sms/modules/System Admin/systemCheck.php on line 48

Thx

regards,
Imam Nursianto

Hi Imam Nursianto,

I’ve created a fix for the PHP 8 related errors you are seeing in the planner, which can be found here and applied to your system:

https://github.com/GibbonEdu/core/commit/74f17bdd47009cfc20d1c41bfbaffb97809e3164

Are you using a Windows-based system? The exec function is built-in to PHP, however if it’s not available on your system, then the background processing functionality may not work. You can find a fix for the System Check here:

https://github.com/GibbonEdu/core/commit/c7ae4825e262961dd4ede4bf8921952f0e2e1bd9

Great, all fixed.

Thank you @ross

God bless you,
Imam Nursianto