Clipbucket4.0 bug


#1

After upgrading php7,It seems incompatible!


#2

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/clipnew/includes/classes/errorhandler.class.php:78 Stack trace: #0 /var/www/clipnew/includes/classes/errorhandler.class.php(132): errorhandler->add_message(’\xE4\xBC\x9A\xE5\x91\x98\xE8\x81\x94\xE7\xBB\x9C\xE4\xBA\xBA…’) #1 /var/www/clipnew/includes/functions.php(927): errorhandler->e(’\xE4\xBC\x9A\xE5\x91\x98\xE8\x81\x94\xE7\xBB\x9C\xE4\xBA\xBA…’, ‘m’, NULL) #2 /var/www/clipnew/includes/classes/user.class.php(4592): e(’\xE4\xBC\x9A\xE5\x91\x98\xE8\x81\x94\xE7\xBB\x9C\xE4\xBA\xBA…’, ‘m’) #3 /var/www/clipnew/includes/classes/user.class.php(583): userquery->remove_contacts(‘4’) #4 /var/www/clipnew/admin_area/members.php(34): userquery->delete_user(‘4’) #5 {main} thrown in /var/www/clipnew/includes/classes/errorhandler.class.php on line 78


#3

Make sure to have PHP v 7.0


#4

Yes,I am sure. when I upload the latest version clipbukcet, I face the problem.


#5


#6

fgws@ubuntu:~# php -v
PHP 7.2.3-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Mar 6 2018 12:03:48) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.2.3-1+ubuntu14.04.1+deb.sury.org+1, Copyright © 1999-2018, by Zend Technologies


#7

There seems to be a similar mistake in many places,especially for admin_area


#8


#9

Fatal error: Uncaught ArgumentCountError: Too few arguments to function reConvertVideos(), 0 passed in /var/www/clipnew/admin_area/video_manager.php on line 29 and exactly 1 expected in /var/www/clipnew/includes/functions_video.php:2072 Stack trace: #0 /var/www/clipnew/admin_area/video_manager.php(29): reConvertVideos() #1 {main} thrown in /var/www/clipnew/includes/functions_video.php on line 2072


#10

You need to have PHP version 7.0 and not 7.2


#11

thankyou ,I have makes it compatible for 7.2.