Undefined property: JSONGanttConnector::$as_string

I have used the latest gantt zip when I follow your gantt tutorial and enable logs I find these errors in the log:


====================================
Log started, 15/01/2014 12:01:09
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

SELECT `id`,`start_date`,`duration`,`text`,`progress`,`sortorder`,`parent` FROM gantt_tasks

Undefined property: JSONGanttConnector::$simple at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 257

SELECT `id`,`source`,`target`,`type` FROM gantt_links

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 261

Done in 0.0060009956359863s



====================================
Log started, 15/01/2014 12:01:13
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

SELECT `id`,`start_date`,`duration`,`text`,`progress`,`sortorder`,`parent` FROM gantt_tasks

Undefined property: JSONGanttConnector::$simple at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 257

SELECT `id`,`source`,`target`,`type` FROM gantt_links

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 261

Done in 0.0060009956359863s



====================================
Log started, 15/01/2014 12:01:15
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

SELECT `id`,`start_date`,`duration`,`text`,`progress`,`sortorder`,`parent` FROM gantt_tasks

Undefined property: JSONGanttConnector::$simple at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 257

SELECT `id`,`source`,`target`,`type` FROM gantt_links

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 261

Done in 0.004000186920166s



====================================
Log started, 15/01/2014 12:01:20
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

DataProcessor object initialized
1389785415782_text => New task
1389785415782_start_date => 2014-01-01 00:00
1389785415782_duration => 1
1389785415782_progress => 0
1389785415782_parent => 0
1389785415782_id => 1389785415782
1389785415782_end_date => 2014-01-02 00:00
1389785415782_!nativeeditor_status => inserted
ids => 1389785415782

Row data [1389785415782]
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 1389785415782
end_date => 2014-01-02 00:00
!nativeeditor_status => inserted

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 1389785415782
end_date => 2014-01-02 00:00
!nativeeditor_status => inserted

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 1389785415782
end_date => 2014-01-02 00:00
!nativeeditor_status => inserted

INSERT INTO gantt_tasks(`start_date`,`duration`,`text`,`progress`,`sortorder`,`parent`) VALUES ('2014-01-01 00:00','1','New task','0','','0')

Edit operation finished
0 => action:inserted; sid:1389785415782; tid:3;

Done in 0.15501618385315s



====================================
Log started, 15/01/2014 12:01:23
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

DataProcessor object initialized
3_text => New task
3_start_date => 2014-01-01 00:00
3_duration => 1
3_progress => 0
3_parent => 0
3_id => 3
3_end_date => 2014-01-02 00:00
3_!nativeeditor_status => updated
ids => 3

Row data [3]
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 3
end_date => 2014-01-02 00:00
!nativeeditor_status => updated

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 3
end_date => 2014-01-02 00:00
!nativeeditor_status => updated

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 3
end_date => 2014-01-02 00:00
!nativeeditor_status => updated

UPDATE gantt_tasks SET `start_date`='2014-01-01 00:00',`duration`='1',`text`='New task',`progress`='0',`sortorder`='',`parent`='0' WHERE `id`='3'

Edit operation finished
0 => action:updated; sid:3; tid:3;

Done in 0.063007116317749s



====================================
Log started, 15/01/2014 12:01:26
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

DataProcessor object initialized
1389785415785_text => New task
1389785415785_start_date => 2014-01-01 00:00
1389785415785_duration => 1
1389785415785_progress => 0
1389785415785_parent => 0
1389785415785_id => 1389785415785
1389785415785_end_date => 2014-01-02 00:00
1389785415785_!nativeeditor_status => inserted
ids => 1389785415785

Row data [1389785415785]
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 1389785415785
end_date => 2014-01-02 00:00
!nativeeditor_status => inserted

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 1389785415785
end_date => 2014-01-02 00:00
!nativeeditor_status => inserted

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 1389785415785
end_date => 2014-01-02 00:00
!nativeeditor_status => inserted

INSERT INTO gantt_tasks(`start_date`,`duration`,`text`,`progress`,`sortorder`,`parent`) VALUES ('2014-01-01 00:00','1','New task','0','','0')

Edit operation finished
0 => action:inserted; sid:1389785415785; tid:4;

Done in 0.052005052566528s



====================================
Log started, 15/01/2014 12:01:28
====================================

Undefined property: JSONGanttConnector::$as_string at C:\xampp\htdocs\codebase\connector\gantt_connector.php line 122

DataProcessor object initialized
4_text => New task
4_start_date => 2014-01-01 00:00
4_duration => 1
4_progress => 0
4_parent => 0
4_id => 4
4_end_date => 2014-01-02 00:00
4_!nativeeditor_status => updated
ids => 4

Row data [4]
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 4
end_date => 2014-01-02 00:00
!nativeeditor_status => updated

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 4
end_date => 2014-01-02 00:00
!nativeeditor_status => updated

Incorrect field name used: sortorder

data
text => New task
start_date => 2014-01-01 00:00
duration => 1
progress => 0
parent => 0
id => 4
end_date => 2014-01-02 00:00
!nativeeditor_status => updated

UPDATE gantt_tasks SET `start_date`='2014-01-01 00:00',`duration`='1',`text`='New task',`progress`='0',`sortorder`='',`parent`='0' WHERE `id`='4'

Edit operation finished
0 => action:updated; sid:4; tid:4;

Done in 0.23002290725708s



====================================
Log started, 15/01/2014 12:36:49
====================================

SELECT `id`,`start_date`,`duration`,`text`,`progress`,`sortorder`,`parent` FROM gantt_tasks

SELECT `id`,`source`,`target`,`type` FROM gantt_links

Done in 0.003000020980835s



====================================
Log started, 15/01/2014 12:38:36
====================================

DataProcessor object initialized
1_id => 1
1_start_date => 2014-01-01 00:00
1_duration => 4
1_text => Darrell Test
1_progress => 0
1_sortorder => 0
1_parent => 0
1_end_date => 2014-01-05 00:00
1_!nativeeditor_status => updated
ids => 1

Row data [1]
id => 1
start_date => 2014-01-01 00:00
duration => 4
text => Darrell Test
progress => 0
sortorder => 0
parent => 0
end_date => 2014-01-05 00:00
!nativeeditor_status => updated

UPDATE gantt_tasks SET `start_date`='2014-01-01 00:00',`duration`='4',`text`='Darrell Test',`progress`='0',`sortorder`='0',`parent`='0' WHERE `id`='1'

Edit operation finished
0 => action:updated; sid:1; tid:1;

Done in 0.15601587295532s



====================================
Log started, 15/01/2014 12:38:40
====================================

DataProcessor object initialized
1_id => 1
1_start_date => 2014-01-01 00:00
1_duration => 3
1_text => Darrell Test
1_progress => 0
1_sortorder => 0
1_parent => 0
1_end_date => 2014-01-04 00:00
1_!nativeeditor_status => updated
ids => 1

Row data [1]
id => 1
start_date => 2014-01-01 00:00
duration => 3
text => Darrell Test
progress => 0
sortorder => 0
parent => 0
end_date => 2014-01-04 00:00
!nativeeditor_status => updated

UPDATE gantt_tasks SET `start_date`='2014-01-01 00:00',`duration`='3',`text`='Darrell Test',`progress`='0',`sortorder`='0',`parent`='0' WHERE `id`='1'

Edit operation finished
0 => action:updated; sid:1; tid:1;

Done in 0.06100606918335s

Is this an issue as the data is being saved ?

That is not issue, but you can update connector files from here
github.com/DHTMLX/connector-php
Or use connector files from official gantt version ( the connector version in zip file contains some development features which may cause extra warnings in gantt’s log )

The files from github.com worked fine no errors.

Many Thanks