$unique_block_modal_class error after updating to Newspaper 11.4.2

Posted in: Newspaper
Post count: 76

Hello,

I get the following error after updating to the latest version of Newspaper – Warning: undefined variable $unique_block_modal_class error in (…)td-cloud-library/shortcodes/single/tdb_single_related_author.php. What should I do in order to fix this?

Website link. Note: it occurs only on single posts and only on desktop.

Thanks!

Post count: 76

The error seems to be fixed now. If there is someone else with this warning on their website: I have deleted the single post template and re-installed it through Cloud Library.

However, as it was before with the same exact single post template (the difference being that before the template was added with the Gadgets PRO demo; now I’ve imported from de Cloud Library), the inline ad is still not shown in the single post (I’ve set it to be shown in the second paragraph, aligned left, but it won’t). I tried with different ad codes, but it only puts a space on some random paragraph and that’s all (also, if I add the „advertisment” text, it shows this text, but not the ad). I mention that I’ve manually added the ad code în the „Edit with TD Composer”, but it is also added in the Theme Panel > Ads > Inline ad (since now it does not seems to be possible to select an ad available in the Theme Panel from the Edit with TD Composer). Is there any solution to this?

Post count: 35449

Hi Alex,
Indeed, the tdb_single_related_author shortcode was not mapped in the cloud. This problem was solved the next day after the theme update and like you said, reinstalling the cloud from Newspaper > plugins will resolved the problem.

About the ads, I see that those are set in the post and there is no errors, but the ads width is 0px -> https://i.imgur.com/66vn2v5.png
One suggestion will be to copy the ads code from the top article ad in the inline ads 1 and 2 and see if this is solving the problem (since only the inline code is not working it can be related to the code).
Also, you can try a different single post template from cloud to is if there is a difference.
Maybe this guide can help you -> https://www.bloggerspice.com/2019/02/customize-matched-content-ads.html
Also, you can check those articles:
4 Reasons Why Ads Are Not Showing on My Website

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