New Errors Appearing That I Can't Explain – All Relevant To TagDiv Composer

Posted in: Newsmag
Post count: 7

Email Us At: web@mediabrewup.com
Website: https://www.Sunny.fm

Some strange errors appeared in my error log that are all relevant to Tag Div Composer. I’ve taken a look at the lines it references in the first two errors, and I became confused on what was wrong. I wanted to come to you guys for an explanation and further examination of the errors listed below. Please explain to me how we might take steps forward to fix this. We have experienced some crashes of the website recently. Looking forward to your swift response.

Error Log:
2023-11-01 15:11:16.445819 [NOTICE] [27615] [T0] [185.191.171.2:7204#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Warning: Attempt to read property “post_content” on null in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/includes/tdc_util.php on line 466\n
2023-11-01 15:11:16.445729 [NOTICE] [27615] [T0] [185.191.171.2:7204#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Warning: Attempt to read property “post_content” on null in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 794\n
2023-11-01 15:10:55.314680 [NOTICE] [27615] [T0] [67.212.210.154:59412:HTTP2-1#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Warning: Undefined array key “widget_id” in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 3039\n
2023-11-01 15:10:55.286719 [NOTICE] [27615] [T0] [67.212.210.154:59412:HTTP2-1#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Warning: Undefined array key “widget_id” in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 3039\n
2023-11-01 15:10:31.952505 [INFO] [27614] [T0] [196.245.164.247:50657#APVH_sunny.broadcasteverywhere.biz:443] File not found [/home/sunnyfm/sunny.fm/406.shtml]
2023-11-01 15:10:31.436876 [INFO] [27615] [T0] [50.3.159.154:35193#APVH_sunny.broadcasteverywhere.biz:443] File not found [/home/sunnyfm/sunny.fm/406.shtml]
2023-11-01 15:10:30.421162 [INFO] [27614] [T0] [192.109.110.122:44852#APVH_sunny.broadcasteverywhere.biz:443] File not found [/home/sunnyfm/sunny.fm/406.shtml]
2023-11-01 15:10:29.832674 [INFO] [27614] [T0] [165.231.98.196:59178#APVH_sunny.broadcasteverywhere.biz:443] File not found [/home/sunnyfm/sunny.fm/406.shtml]

Post count: 35449

Hi,
That notice is related to the same code, this one – https://i.imgur.com/s7L7WyU.png
Now what can be done is a replace of the code line
$content = get_post( $post_id )->post_content;
with:
$content = $post_id ? get_post( $post_id )->post_content : '';
This replace is already made in the package for the theme update, but I do not know a release date for it, sorry. If you want I can help and I can manually set the code for you, just let me know!
Thank you!

Post count: 7

Can you please be more specific about which file I’m supposed to replace that line of code in? There are multiple errors with “null” issues in separate paths. Are you saying to do that in all of them? Please define the paths I file path I should be replacing this code in.
A – home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/includes/tdc_util.php on line 466\n
B – /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 794\n
C – /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 3039\n
D – ALL

Looking forward to your reply, and this update you mentioned…

Post count: 7

‘C’ Didn’t have a line of code like that to replace.

I went ahead and replaced it in the other two files, though.

Post count: 7

This is now what I see in my error log:

2023-11-02 10:34:35.776689 [NOTICE] [37430] [T0] [40.77.167.70:59063:HTTP2-1#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Parse error: Unmatched ‘}’ in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1\n
2023-11-02 10:34:32.493920 [NOTICE] [37430] [T0] [216.129.144.82:49691-H3:25B203EBCDE48121-0#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Parse error: Unmatched ‘}’ in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1\n
2023-11-02 10:34:31.329905 [NOTICE] [37429] [T0] [51.222.253.15:44924:HTTP2-1#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Parse error: Unmatched ‘}’ in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1\n
2023-11-02 10:34:31.259475 [NOTICE] [37430] [T0] [216.244.66.238:48780#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Parse error: Unmatched ‘}’ in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1\n
2023-11-02 10:34:29.967988 [NOTICE] [37430] [T0] [47.6.51.196:61295:HTTP2-29#APVH_sunny.broadcasteverywhere.biz:443] [STDERR] PHP Parse error: Unmatched ‘}’ in /home/sunnyfm/sunny.fm/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1\n

Post count: 7

Yeah, and my site crashed. It’d better if you could help me implement this fix

Post count: 35449

Hello,
The changes should be done on those files:
– wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php
line 794 https://i.imgur.com/OLiObCB.png
line 3353 https://i.imgur.com/1kGH5gM.png

– wp-content/plugins/td-composer/includes/tdc_util.php
line 466 – https://i.imgur.com/psGbYmv.png

To get the theme plugins default code, just delete the plugins and reinstall them from Newsmag > plugin
I hope this will help you!

Post count: 7

” If you want I can help and I can manually set the code for you, just let me know!
Thank you!”

I’d appreciate it if you could help me in a more hands- on way like you mentioned above.

Post count: 35449

Hi,
Yes, for this please contact us via email at contact@tagdiv.com and please provide temporary wp-admin and cPanel/FTP access. Also, please include the link of this topic to can identify you faster.
Thank you!

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