By George Dunlop on Sunday, 12 April 2015
Posted in Technical Issues
Likes 0
Views 676
Votes 0
Hey there!

The error I face on the site happens only when I am using a combination of easyblog and JCH Optimize; I managed to make them work but not entirely where to do so I turned of CSS and JS combining in JCH Optimize but that is one of the optimization techniques I'd ideally love to use.

Basically them running together crashes the page completely (empty white page).

Turning on development debugging in joomla outputs the following:

Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Notice: Undefined index: REGEXP_LITERAL in {site_root}/plugins/system/jch_optimize/jchoptimize/libs/HTML_Optimize.php on line 318
Fatal error: Call to a member function get() on a non-object in {site_root}/plugins/system/jch_optimize/platform/utility.php on line 187

I replaced the site root path with {site_root} just for security's sake.

I'll also try contacting JCH Optimize for some assistance during the week as their support service isn't operational during the weekend.

The JCH Optimize is version 4.2.3 which is currently the latest and it is the Pro edition.

The rest of the site that doesn't use Easyblog works fine, it's very strange.

Any help would be appreciated!
Hi George Dunlop,

I am really sorry for the delay of this reply as it is a weekend for us here.

Do you mean that after compiled, all Easyblog shown blank page?

May i know what system environment are you set from your Easyblog?

By the way, you should be keep in touch from JCH Optimize support regarding this, because they know their system better than us, but if they find out some weird stuff related Easyblog, you can keep us updated then and provide us with your Joomla backend and FTP access so we can take a look of this.
·
Sunday, 12 April 2015 13:14
·
0 Likes
·
0 Votes
·
0 Comments
·
EasyBlog Version: 3.9.22295
JCH Optimize Version: 4.2.3
Joomla Version: 3.4.1

After speaking to the good folks over at JCH Optimize we got thus far

"It seems as if something somewhere is stripping the values out of the $GLOBALS variable. When I dump mine and compare the value to yours, yours is really sparse. Only contains a few values while I have to scroll and scroll to see the full values of mine.

I think it has something to do with EasyBlog and that is why you are having problem with this line:
Line: 187 return $input->$method->get($value, $default, $filter);

If you trace this code you will see that it taps into $GLOBALS for some values which aren't there.

I don't know if you would have any idea why this is so or maybe you can reach out to the easyblog guys to see if they can provide some insight into the matter." - JCH Optimize Admin

So somehow when mixing JCH Optimize and Easyblog has some conflict with the $GLOBALS on the server.
·
Friday, 17 April 2015 06:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi George Dunlop,

I'm really sorry that delayed of this reply,

Can you provide us with your Joomla backend and FTP access so we can better have a look?

Also may i know what file are you mentioned about in this line of code ?
Line: 187 return $input->$method->get($value, $default, $filter);


And is it directly access your Easyblog page then hitting the blank page issues?

please advise.
·
Friday, 17 April 2015 23:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Figured it out, turns out one of the modules was resetting the $GLOBALS array. All fixed now!
·
Monday, 20 April 2015 06:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello George.

Glad your issue has been resolved
·
Monday, 20 April 2015 15:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post