PHP error: A non-numeric value encountered in db_header_mega_menu.php

Posted in: Newspaper
Post count: 12

I’m encountering this error, but for the life of me can’t figure out why. The error seems to be at

wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_mega_menu.php:116
tdb_header_mega_menu::cssMedia()

Now, when I look at the code, it looks like the error is at

$modulo_posts = $modules_limit % intval((100/intval($modules_number)));

However, when I go to the editor, all my values are numerical and I don’t see what’s tripping things

https://p196.p4.n0.cdn.getcloudapp.com/items/YEuplBYJ/Screen%20Shot%202020-06-06%20at%207.03.00%20AM.jpg?v=2a5e903590fe18cd1af92752a4e4210d

https://p196.p4.n0.cdn.getcloudapp.com/items/4gujDZvE/Screen%20Shot%202020-06-06%20at%207.01.10%20AM.jpg?v=8461a704b5b062a2a9870361d3c33804

Post count: 35449

Hi,

What you can do is to make an reset to the mega menu that you have using the right click -> https://i.imgur.com/m2FHl3i.png and check the results, also you first to save the menu as element and only after that rest the style.

If there is still a problem, make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Let me know the results!
Thank you!

Post count: 12

Resetting the style didn’t work. Deactivating the plugins I realized that the one with the problem was tag Mobile Theme.

Ultimately, I recreated the entire header from scratch and the problem went away, so not sure what happened, but it’s now fixed.

Post count: 35449

Hi,

Form your screenshots the problems seems to be from mega menu, did you try only with theme plugins?
A suggestion is to delete all theme plugins and reinstall them from Newspaper > plugins.
If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look. Include a link to this topic in the email.

Thank you!

Post count: 12

Thanks a lot Calin. As I explained, the problem went away when I recreated a new header from scratch, so I don’t have the php error anymore.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.