By John McHugh Dennis on Friday, 25 March 2016
Posted in General
Replies 5
Likes 0
Views 431
Votes 0
I am not certain that this is related to easydiscuss, but when I load some pages on my site, sometimes (not always) the following code displays on the screen:

object(DiscussPost)#1343 (50) { ["id"]=> NULL ["title"]=> NULL ["modified"]=> NULL ["created"]=> NULL ["replied"]=> NULL ["alias"]=> NULL ["content"]=> NULL ["published"]=> NULL ["ordering"]=> NULL ["vote"]=> NULL ["islock"]=> NULL ["featured"]=> NULL ["isresolve"]=> NULL ["hits"]=> NULL ["user_id"]=> NULL ["category_id"]=> NULL ["parent_id"]=> NULL ["user_type"]=> NULL ["poster_name"]=> NULL ["poster_email"]=> NULL ["num_likes"]=> NULL ["num_negvote"]=> NULL ["sum_totalvote"]=> NULL ["params"]=> NULL ["answered"]=> NULL ["password"]=> NULL ["legacy"]=> NULL ["address"]=> NULL ["latitude"]=> NULL ["longitude"]=> NULL ["content_type"]=> NULL ["post_status"]=> NULL ["post_type"]=> NULL ["ip"]=> NULL ["private"]=> NULL ["_data":"DiscussPost":private]=> array(0) { } ["_tbl":protected]=> string(16) "#__discuss_posts" ["_tbl_key":protected]=> string(2) "id" ["_tbl_keys":protected]=> array(1) { [0]=> string(2) "id" } ["_db":protected]=> object(JDatabaseDriverMysqli)#26 (21) { ["name"]=> string(6) "mysqli" ["nameQuote":protected]=> string(1) "`" ["nullDate":protected]=> string(19) "0000-00-00 00:00:00" ["_database":"JDatabaseDriver":private]=> string(15) "gayinla7_joomla" ["connection":protected]=> object(mysqli)#50 (19) { ["affected_rows"]=> int(37) ["client_info"]=> string(6) "5.5.32" ["client_version"]=> int(50532) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(0) ["error"]=> string(0) "" ["error_list"]=> array(0) { } ["field_count"]=> int(9) ["host_info"]=> string(25) "Localhost via UNIX socket" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(15) "5.5.31-30.3-log" ["server_version"]=> int(50531) ["stat"]=> string(147) "Uptime: 1040756 Threads: 3 Questions: 20843874 Slow queries: 89 Opens: 2900 Flush tables: 1 Open tables: 1573 Queries per second avg: 20.027" ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(551902) ["warning_count"]=> int(0) } ["count":protected]=> int(91) ["cursor":protected]=> NULL ["debug":protected]=> bool(false) ["limit":protected]=> int(0) ["log":protected]=> array(0) { } ["timings":protected]=> array(0) { } ["callStacks":protected]=> array(0) { } ["offset":protected]=> int(0) ["options":protected]=> array(9) { ["driver"]=> string(6) "mysqli" ["host"]=> string(9) "localhost" ["user"]=> string(15) "gayinla7_joomla" ["password"]=> string(12) "thepassworddisplayedhereiremovedit" ["database"]=> string(15) "gayinla7_joomla" ["prefix"]=> string(6) "zt9vo_" ["select"]=> bool(true) ["port"]=> int(3306) ["socket"]=> NULL } ["sql":protected]=> string(41) "SHOW FULL COLUMNS FROM `#__discuss_posts`" ["tablePrefix":protected]=> string(6) "zt9vo_" ["utf":protected]=> bool(true) ["errorNum":protected]=> int(0) ["errorMsg":protected]=> string(0) "" ["transactionDepth":protected]=> int(0) ["disconnectHandlers":protected]=> array(0) { } } ["_trackAssets":protected]=> bool(false) ["_rules":protected]=> NULL ["_locked":protected]=> bool(false) ["_autoincrement":protected]=> bool(true) ["_observers":protected]=> object(JObserverUpdater)#1335 (2) { ["observers":protected]=> array(0) { } ["doCallObservers":protected]=> bool(true) } ["_columnAlias":protected]=> array(0) { } ["_jsonEncode":protected]=> array(0) { } ["_errors":protected]=> array(0) { } ["lockdate"]=> NULL ["isreport"]=> NULL }
Hi John,

It looks some sort of variable dumping and it should not be exists on EasyDiscuss. May I know on which page you are hitting this error? If possible kindly provide us with your Joomla backend and FTP access so we can check on the issue directly.
·
Friday, 25 March 2016 16:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately, it does not always happen on the same page and I cannot currently reproduce it.

I will keep trying and let you know, but it does not always happen.

I have updated my account with ftp and admin login info.
·
Friday, 25 March 2016 16:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Keep us updated then
·
Saturday, 26 March 2016 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
I had to disable the Easydiscuss component because of the problem. I have a backup of the site at test.gayinla.com.

You can reproduce the error by logging into an account on the front end of the site.

I put ftp credentials for the site on the form. Joomla super user credentials are the same.
·
Tuesday, 29 March 2016 12:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi John,

I am really sorry for the delay of this reply.

It looks like someone has left a debug code inside the following file /plugin/content/easydiscuss/easydiscuss.php hence causing the issue on the site. I've removed the debug code on that following file and it should be displaying correctly now as it should.

The same fix has been applied into your live site as well so you can safely enable the easydiscuss component on your live site.
·
Tuesday, 29 March 2016 15:07
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post