PHP Classes

fatal error php7

Recommend this page to a friend!

      PHP Datagrid with Navigation  >  All threads  >  fatal error php7  >  (Un) Subscribe thread alerts  
Subject:fatal error php7
Summary:fatal error php7
Messages:2
Author:boban_dj
Date:2016-05-29 04:22:40
 

  1. fatal error php7   Reply   Report abuse  
Picture of boban_dj boban_dj - 2016-05-29 04:22:40
Your paypal button works wonderful, your code is shit


Fatal error: Uncaught TypeError: Return value of class@anonymous::size() must be of the type integer, null returned in /srv/http/mysql_crud/datagrid-navigation-2016-05-28/datagrid-with-navig-30-php7/inc/basicmysql.class.php:171 Stack trace: #0 /srv/http/mysql_crud/datagrid-navigation-2016-05-28/datagrid-with-navig-30-php7/datagrid.class.php(98): class@anonymous->size() #1 /srv/http/mysql_crud/datagrid-navigation-2016-05-28/datagrid-with-navig-30-php7/datagrid.class.php(249): datagrid->get_num_rows() #2 /srv/http/mysql_crud/datagrid-navigation-2016-05-28/datagrid-with-navig-30-php7/index.php(65): datagrid->navigator() #3 {main} thrown in /srv/http/mysql_crud/datagrid-navigation-2016-05-28/datagrid-with-navig-30-php7/inc/basicmysql.class.php on line 171

  2. Re: fatal error php7   Reply   Report abuse  
Picture of Sergio Soares Sergio Soares - 2016-05-29 13:38:05 - In reply to message 1 from boban_dj
I posted un update yesterday, from class 3.0 to v3.5, you can downloading from git:

https://github.com/smicaelos/PHP-Datagrid-with-Navigator-3.5


php 7 version is updated, not complete yet but working fine. the error it gave to you seems like function size() is not receaving data from the database, check your database name is the right one and if it got the right tables (id, url ,title, text, price).

Your free to ask.