Opensource plugin breaking Jreviews submit form

Opensource plugin breaking Jreviews submit form

hi Alex and Melissa,
I actually don't know if this is true but when I see an opengraph anything I think of you guys.  Below is the problem I reported and jReviews response.  Would appreciate your help to solve.

"Sites' now on my own shared server and I just tried submitting a listing, but the pages refreshed to the same page.
See:
https://screencast.com/t/MkocVLTl

What do you think is the problem?"

JREVIEWS RESPONSE:

"The issue is caused by a different plugin. If you look at the response from the submit request, you can find this:

<b>Warning</b>: get_class() expects parameter 1 to be object, array given in <b>/home4/morevida/public_html/goodtalktnt.com/test2/plugins/opengraph/content/content.php</b> on line <b>335</b><br />

So it's that plugin that is breaking the submit form."

Is this a sourcecoast plugin?

If not can you shed some light on who it belongs to and if I can simply disable it?

Thanks much for your help.

petgal
Peter
useravatar
Offline
208 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Opensource plugin breaking Jreviews submit form

That's our plugin, but the warning is a bit bizarre. This may be due to an interaction between jReviews and JFBConnect simply because jReviews extends and changes normal Joomla content.

Here's the fix I'd recommend that should get you going. In the /plugins/opengraph/content/content.php file, at line 335, you should see:

Code:

        if(get_class($article) == 'JTableContent')

Change that to:

Code:

        if(is_object($article) && (get_class($article) == 'JTableContent'))

The other simple option is to set Error Reporting to "None" in the Global Configuration area of Joomla, which will hide those warnings.. but the best is the code fix above.

Let us know how that goes and we can gladly include that change in the next release.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24026 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Opensource plugin breaking Jreviews submit form

Thanks man.  Made the change and it worked.  Impressed that I was able to do it.  ;-)

petgal
Peter
useravatar
Offline
208 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Opensource plugin breaking Jreviews submit form

Thanks for letting us know. I've checked in the change for the next release.

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3586 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11618
Total Polls:
0
Total Posts:
48821
Posts today:
4
User Info
 
Total Users:
47671
Newest User:
essentee
Members Online:
2
Guests Online:
1169

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program