Any idea why I am getting this code when I try to edit or post a new article?

Posted in: Newspaper
Post count: 5

Any idea why I am getting this code when I try to edit or post a new article?

Warning: Invalid argument supplied for foreach() in /home/jayf4888/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 346

Warning: Cannot modify header information – headers already sent by (output started at /home/jayf4888/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:346) in /home/jayf4888/public_html/wp-includes/pluggable.php on line 1251

Post count: 20688

Hi,

Please check if the wp-debug is set to false in the wp-config file
https://tagdiv.com/newspaper-theme-requirements/
If it’s not, set it to false, then check if the warnings are removed.

Thanks

Post count: 5

wp-config settings are correct:
define(‘WP_DEBUG’, false);
define(‘WP_MEMORY_LIMIT’, ‘512M’);

Post count: 5

Possibly unrelated but here is a recurring error from the theme’s php_errorlog:
PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/[dir]/public_html/wp-content/themes/Newspaper/index.php:6

Post count: 20688

You could check some similar topics about that index error
https://forum.tagdiv.com/topic/problem-with-search-2/

Also what PHP version are you using? Try if possible to use versions 7, 7.1 or 7.2. Older version can cause various problems.

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