Hi, just trying to understand how this would work. I am trying to create a situation where if the post has been modified, it would show the modified date only, as in “Last modified: MM/DD/YYYY,” but if it has NOT been modified, it would show the published date only. You are suggesting that we create a second template and use the Single Post Modified Data widget, and then show that only when the post has a modified date newer than the published date? Just now clear how to do that.
Hi, Bettina. Thank you but that is just a generic post about critical errors and why they happen. The issue in this case is that your cloud templates are poorly coded, which has been documented by the developers of the Molongui Authorship plugin here:
https://www.molongui.com/help/tagdiv-cloud-library/
It might be helpful to refer folks to this info in your support forum whenever you suggest the Molongui plugin as an option for multiple authors, so they are aware that there are issues caused by your TagDiv Cloud Library. I have been in contact with the Molongui devs, who may be able to provide additional code to work around the issue, and I will be happy to share any info and/or code that results from this if it can benefit anyone else in my situation.
Same issue with 12.6.6. Here is the error when WP-DEBUG is enabled:
Warning: Trying to access array offset on value of type bool in /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-includes/post-template.php on line 324
Warning: Trying to access array offset on value of type bool in /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-includes/post-template.php on line 324
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-includes/post-template.php:324 Stack trace: #0 /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-includes/post-template.php(247): get_the_content() #1 /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_author.php(23): the_content() #2 /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-includes/template-loader.php(106): include(‘/home/880971.cl…’) #3 /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-blog-header.php(19): require_once(‘/home/880971.cl…’) #4 /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/index.php(17): require(‘/home/880971.cl…’) #5 {main} thrown in /home/880971.cloudwaysapps.com/pjkwkavkqf/public_html/wp-includes/post-template.php on line 324
There has been a critical error on this website.
Learn more about troubleshooting WordPress.
Thank you, Bettina. WordPress is up to date and we have been using this theme for over four years now on the same installation so I don’t think it’s a PHP or version issue, we meet all the requirements. As far as direct access to PHP files, not sure what you are suggesting, that we should enable it, or disable it? The problem occurs whether we are using our child theme or the primary Newspaper theme, so we were able to rule out any code in the child theme’s functions.php file.
Thank you, Anamaria. This is exactly what I was looking for. Really appreciate the assistance.
Ah, finally found it. Thank you!
Thank you for your response. I went through every row, column and element in the header and the menu, and there are no background images placed anywhere in the CSS tab, regardless of the viewport I am set to. IS there any other place it could possibly be located in the settings?
Hi, Calin. Happens whether we are logged in or not. I set it up on our staging site as with my other question, so I could rule out any plugins as causing the issue:
Thanks, Calin. I set this up on our staging site:
https://r65staging.wpengine.com/
and I have no plugins other than the TagDiv ones enabled, but it still skips those two articles. The two in the Topic Highlights area below the top grid are posts #1 and #2 by date, then there is code for our ads (disabled) and below the ad code are actually the 5th and 6th posts in that category, it continues to skip the 3rd and 4th articles even though the offset for the first Flex block is blank and for the second Flex block it’s 2.