Error log: td_subscription.php on line 528

Posted in: Newspaper
Post count: 30

We have two newspaper sites and both show an error message below every day in error log file.
Is there a way we can solve this problem? (korearadio.org) (sundaynewsusa.com)

PHP Warning: Use of undefined constant TD_THEME_NAME – assumed ‘TD_THEME_NAME’ (this will throw an Error in a future version of PHP) in /home/korearadio/public_html/wp-content/plugins/td-subscription/includes/td_subscription.php on line 528

Post count: 21065

Hello!

It is a warning, not an error. I recommend you to change your php version as recommended in our guide here: https://forum.tagdiv.com/requirements-for-newspaper/

Thank you!

Post count: 5

I have same error on my site but only when I use PHP 8.0 version.

If I use PHP 7.4 version everythings run fine.

Maybe TAGDIV need fix this compatibility issue.

### ERROR ####
#8: Fatal error: Uncaught Error: Undefined constant “TD_THEME_NAME” in /home/SOMEFOLDER/public_html/SOMEDOMAIN/wp-content/plugins/td-subscription/includes/td_subscription.php:528
##############

Post count: 21065

Hello!

Sure. We will take into consideration your query for the future.

Thank you for understanding!

Post count: 5

Hi Bettina, thanks for your response.

Using PHP 7.4 I saw on debug.log same issue but at warning level:
#### WARNING MESSAGE ###
[14-Jun-2022 16:28:21 UTC] PHP Warning: Use of undefined constant TD_THEME_NAME – assumed ‘TD_THEME_NAME’ (this will throw an Error in a future version of PHP) in /home/SOMEFOLDER/public_html/SOMEDOMAIN/wp-content/plugins/td-subscription/includes/td_subscription.php on line 528
########################

Using NFT News PRO (prebuilt website)

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