MySQL Database Error: "Call to a member function getSummaryConfig() on null" #67

maanitm opened this Issue Jul 31, 2016 · 0 comments


None yet

1 participant

maanitm commented Jul 31, 2016

I have been using crudkit to connect my MySQL databases data too. Here is my MySQL Page:


require "vendor/autoload.php";
use CrudKit\CrudKitApp;
use CrudKit\Pages\MySQLTablePage;

// Create a new CrudKitApp object
$app = new CrudKitApp ();

$page = new MySQLTablePage("users", "root","995WgOJx20dKoEHFcK", "seven_ages", array('charset' => "UTF8"));
    ->addColumn("first_name", "First Name")
    ->addColumn("email", "Email")
    ->addColumn("password", "Password")
    ->addColumn("birth_date", "Birth Date")
    ->addColumn("verify_link", "Verification Link")
    ->setSummaryColumns(array("id", "First Name", "Email"));

// Render the app. This will display the HTML
$app->render ();


When I run this, I get this error:

screen shot 2016-07-31 at 6 57 32 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment