Topic-icon Rss feed URL ?format=feed&type=rss breaks with system plugin JFBCSys

Active Subscriptions:

None
Hi,

I recently re-subscribed and upgraded to the latest v 7.2.0
I also upgraded Joomla from 3.6.5 to 3.7.2

Now my URL for a feed with " ?format=feed&type=rss " breaks with system plugin JFBCSys
If I un-publish this I can see the feed normally if not I get generic error

This site can’t be reached

The webpage at www.xotels.com/development/index.php/en/...format=feed&type=rss might be temporarily down or it may have moved permanently to a new web address.


I searched online in some of the support forums and found some Joomla devs discussing this here github.com/joomla/joomla-cms/issues/11705
hope this link can be of value.

Can you please advice How I should proceed with perhaps a downgrade or a patch of some code.

Regards and thank you for support
The topic has been locked.
Support Specialist
JFBconnect doesn't use JDocument in our onAfterInitialize calls. That's what the bug you linked to mentioned *not* to do and I went through to double-check that that's the case.

I'm unsure what in our plugin could be causing the issue you have, but if you can modify some code quickly, that will definitely help narrow it down. To do so, edit the /plugins/system/jfbcsystem/jfbcsystem.php file. Around line 45, you'll see:
public function onAfterInitialise()
    {
        //Always load openGraph plugin so that we can listen for Auto-import
        JPluginHelper::importPlugin('opengraph');
Directly after that line, simply add:
return;
That will stop all the remaining execution of our code after that function. If the problem persists, it means that the issue lies elsewhere. Either way, it will help us know better where to investigate further.

Please let us know how that goes.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Alex thank you for your prompt reply!

I have added so that it now looks like this
    public function onAfterInitialise()
    {
        //Always load openGraph plugin so that we can listen for Auto-import
        JPluginHelper::importPlugin('opengraph');
		return;

        $app = JFactory::getApplication();
        if (!$app->isAdmin())
        {
            // Need to disable Page caching so that values fetched from Facebook are not saved for the next user!
            // Do this by setting the request type to POST. In the Cache plugin, it's checked for "GET". can't be that.
            $option = JRequest::getCmd("option");
            $view = JRequest::getCmd("view");
            if ($option == 'com_jfbconnect' && $view == 'loginregister')
                $_SERVER['REQUEST_METHOD'] = 'POST';

            // Need to load our plugin group early to be able to hook into to every step after
            JPluginHelper::importPlugin('socialprofiles');

            $providers = JFBCFactory::getAllProviders();
            foreach ($providers as $provider)
                $provider->onAfterInitialise();
        }
    }

It does not change anything though same error.
- I did remove cache / expired cache and browser cache

unpublishing system plugin JFBCSys does let me see the rss feed
The topic has been locked.
Support Specialist
That's helpful, even if it didn't fix the issue. It means that the bug you linked to isn't the same one occurring here.

We're going to have to do more testing to understand what's going on. Give me a little time to see what we can find. In the meantime, remove the return; statement in the JFBCSystem file as it's not fixing things and shouldn't be there.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi I just wanted to follow up on this and also ask you about this latest release

www.sourcecoast.com/index.php?option=com...&view=release&id=118 if that perhaps addresses the issues.

Before I introduce new variables I wanted to check in with you first.

Regards Bart
The topic has been locked.
Support Specialist
No, the new update does not address this yet. We're investigating this, but don't have any information on the cause yet.

Sorry I don't have any better details for you right now.
The topic has been locked.