PHP Warning filling up log files

Posted in: Newspaper
Post count: 72

Hello,
We are seeing this PHP warning at the rate of about 3/second:
PHP Warning: A non-numeric value encountered in /www/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_author_box.php on line 395;

This is making our log files largely useless because we have to filter this out constantly. Not to mention putting unnecessary CPU work on our server to log all of these.

Any idea how we can make these stop?

Post count: 35449

Hi,
According to the message you have set in a filed on (I think it is in CSS tab) of element single author on single post test an none numeric value (you have a text not numbers). Use tagDiv Composer, select the element and check the css tab – https://i.imgur.com/fZrz4xw.pnghttps://i.imgur.com/aYRDenF.png check all fields
Thank you!

Post count: 72

There are no non-numeric values listed in our templates.
And if you look at tdb_single_author_box.php and reference both line 392 and line 395 (which are both listed in our log file) it’s pointing to the social icons, which are disabled for both of our templates that use the author box widget.
/*-- SOCIAL ICONS -- */
// icons size
$icons_size = $res_ctx->get_shortcode_att( 'icons_size' );
$res_ctx->load_settings_raw( 'icons_size', $icons_size . 'px' );
$res_ctx->load_settings_raw( 'icons_size_fix', $icons_size * 0.8 . 'px');

// icons padding
$res_ctx->load_settings_raw( 'icons_padding', $icons_size * $res_ctx->get_shortcode_att( 'icons_padding' ) . 'px' );

So I can see where you’d think that there is a non-numeric value but it’s not in the template that is for sure.

Is there any place else that can affect this?
Thanks-
Kim

Post count: 72

Update – I even went as far as to reset the CSS for the author box and replaced the author box with the default author box and the error continues.

Post count: 35449

Hi Kim,
Ok, if the element has been replace and the problem still persist, please check the social links set for the author in his account.
If the problem is still persisting and you already have the last theme version, 12.7.1 then please contact us via email and provide a temporary wp-admin access to investigate the problem. Include the link of this topic so we can identify you faster.
Thank you!

Post count: 72

Hi Calin,

No social links set for any of our authors (this is happening regardless of which user wrote the post) I just applied the update to 12.7.1 – I will see if that clears the issue. If not I’ll send you login information via email.

Thanks!
Kim

Post count: 72

Hi Calin,
Still seeing these errors. We get three for each visit. The first is the same error above but referencing line 392. Then we get two more referencing line 395. These are all within the same page view.
I’ll send you our login info via email. What email should I use?
Thanks,
Kim

Post count: 35449

Hi Kim, in this situation please make a full backup for your website and please contact us via email at contact@tagdiv.com, include a link to this topic to identify you faster.
Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.