Hendrik Spree
asked 2 years ago

I had to update hosting from 5.6 to 7.3 PHP. Actually, I got some more warnings visible in the header section of my website, but the plugins-related stuff I was able to fix. The only thing that’s still there is:

Warning: count(): Parameter must be an array or an object that implements Countable in /example/1234567/wp-content/themes/dw_jason_1.0.2_theme/inc/cmb/init.php on line 746
(see here: drikkes.com)

That is related to the Jason theme, right? Any idea how to fix that?
And in the backend, I get three more error lines above the dashboard, all include mentioning line 746. (I changed the header code manually, adding “rel=me” links etc.

3 Answers
DominicStaff
answered 2 years ago

Please send me the username & password of your site for further checking.

Hendrik Spree
replied 2 years ago

So you want to log into my WP self-hosted backend? (I changed back to an old PHP version, to reproduce the error I’d have to update again.) Problem is, before switching back I wasn’t able to log-in /wp-admin, got more “Warnings” instead of an interface…

Dominic Staff
replied 2 years ago

Don’t worry, I just want to help you fix this issue while waiting the latest version fixed this isue. I sent and notified to our technical team. We will check on our localhost and we will update this issue in the next version.

DominicStaff
answered 2 years ago

We have updated and fixed the issues. We will release the latest version in the tomorrow.
Also, you should create a childtheme to custom the theme, you can move all your customized into the childtheme then update the theme.

Hendrik Spree
replied 2 years ago

Thanks. So I do not have to do anything for now and wait for the new release tomorrow? And I have to renew my expired licence key, right?

Dominic Staff
replied 2 years ago

Yes, If your licence is expired, you need to renew to download the latest version of the theme.

Dominic Staff
replied 2 years ago

Also, we have released the latest version 1.1.0

Hendrik Spree
replied 2 years ago

Hi, I renewed the licence, installed the latest theme version – and now all icons are broken. Menu (mobile), Sharing, Social Footer… What can I do?

DominicStaff
answered 2 years ago

 

About the icon, you can open the header.php file and add the following code under line 9:

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
Hendrik Spree
replied 2 years ago

Thanks, that worked. One last question, please: While using an older theme version, I removed the sharing options completely. Now I want to get rid only of the discontinued Google+ button.

In the single.php there are two sections:
– (Line 17)
– (Line 57)
Can I simply delete the … and … lines beneath? Or do I have to delete only one of them (which one)? Will it break the design, if I remove only G+ and let FB and TW stay? (If so, I’d prefer to remove the entire sharing section. What do I have to delete then?)
Thanks!

Hendrik Spree
replied 2 years ago

Ah, okay, I can’t simply c&p the code snippets here. But you understand what I mean?

Hendrik Spree
replied 2 years ago

Don’t mind, I trial-and-error’ed it myself. Seems like deleting both lines didn’t do any harm to the rest of the code. At least it looks good. Maybe it takes longer to load now?

Dominic Staff
replied 2 years ago

If you want to remove the social section, you can use the following code:
.social-links {display: none;}

Powered by DW Question & Answer Pro