Topic-icon Undefined variable error after update

Active Subscriptions:

None
7 years 10 months ago - 7 years 10 months ago #58571 by microtribe
I'm getting an error after the recent software update (see below).

Notice: Undefined variable: card_type in /home/*********/public_html/libraries/sourcecoast/openGraph.php on line 374
Last edit: 7 years 10 months ago by mel.
The topic has been locked.
Support Specialist
7 years 10 months ago #58572 by mel
Could you try going into the JFBConnect backend > Open Graph > Configuration area and saving the settings again? Does the error still occur?
The topic has been locked.
Support Specialist
7 years 10 months ago #58573 by mel
Actually, can you add the following line of code around line 352, so it now looks like the following:
$twitter_card_enabled = JFBCFactory::config()->get('social_graph_twitter_cards_enabled');
$card_type = JFBCFactory::config()->get('social_graph_twitter_cards_types');
The topic has been locked.
Support Specialist
7 years 10 months ago #58574 by mel
I was able to reproduce the error on my test site and verified that the code above fixed the issue. I just pushed a new build 7.0.2 out which fixes just that fatal error. Grab it and let us know if you continue to have any problems.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 10 months ago #58575 by microtribe
Thanks for the quick attention! That did the trick.
The topic has been locked.