HELP Updated today and tried to make google fonts link secure

Hi, for the first time in over a year I updated the theme. The only other thing Ive done is try to secure google font links with no luck.
Then, after I clicked to update I notice my nav bar is gone and there is an error at the top of the page. Im not totally sure the update did this?? https://scottwebmedia.com
I really love your theme and have been using it a while. Is there a way to revert only the functions.php or whatever is messed up please? Ive done to much work on the site today to just roll out a backup from last night to undo whatever happened.
Thank you for your assistance in this matter and for making this cool theme.

I’d also like to know where you have the link to google fonts so I can change it to https. It is preventing my site from being secure.

But the NAVBAR and ERROR are throwing me into a spiral.

Hello there,

The Google Font is HTTPS compatible already. Please see how it is defined in the main function:


if( $headings_font ) {
	wp_enqueue_style( 'moesia-headings-fonts', '//fonts.googleapis.com/css?family='. $headings_font . $subsets );
} else {
	wp_enqueue_style( 'moesia-roboto-condensed', '//fonts.googleapis.com/css?family=Roboto+Condensed:700');
}
if( $body_font ) {
	wp_enqueue_style( 'moesia-body-fonts', '//fonts.googleapis.com/css?family='. $body_font . $subsets );
} else {
	wp_enqueue_style( 'moesia-roboto', '//fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic');
}
if( $welcome_font && ($welcome_font != $body_font) && ($welcome_font != $headings_font)) {
	wp_enqueue_style( 'moesia-welcome-fonts', '//fonts.googleapis.com/css?family='. $welcome_font . $subsets );
}

I am viewing the source code of your site, I noticed that your LinkedIn profile URL is still http.


http://www.linkedin.com/profile/view?id=8711859

Regards,
Kharis

This is in a line of code somewhere and is only thing preventing browser check http://fonts.googleapis.com/css?family=Pathway+Gothic+One|Roboto+Slab

Have you gained any insight about the navbar missing and the error at the top?

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘moesia_nav_bar’ not found or invalid function name in /home/whistle3/public_html/scottwebmedia.com/wp-includes/plugin.php on line 524

I can’t see the Pathway Gothic One font is being applied on your site. Maybe I am missing something? Where did you know it from?

That PHP warning message doesn’t show up on my test site. Did you modify the moesia_nav_bar() function?

Regards,
Kharis

HTTPS issue:
I updated the theme today after I enabled https. I get the solitairy insecure link from the Network Panel in Google Chrome. CLick the “load unsafe scripts anyway” in the right of the address bar then click the https warning from the beginning fo the URL, then “more details” to launch the Network Panel. FInally under the Active Mixed Content area then click “view 1 request in network panel” Then hit page refresh with the network panel open and record. You will see the link to roboto is in a stylesheet somewhere.

Navbar/Error Issue:
I dont think I modified the nav bar function. I dont know how to do that. Do you see the menu at the top? It is not visible to me logged in or out and I only see the error. My menu is gone replaced with the error.

Hello there,

Please share the working login credentials to your site admin area. I would like to fix it directly there. You can send it to kharisblank@gmail.com; enclose the link to this thread.

Regards,
Kharis

sent, thank you :slight_smile:

Resolved over email support. The trouble was coming from other plugin.

Regards,
Kharis