Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
SnakeEater
tagDiv Member

Same issue here, this seems to be a PHP notice introduced in WP 6.7.
It makes it impossible to use debug logging as it spams the log like crazy.

Would be nice to get a fix.

SnakeEater
tagDiv Member

Hi, sorry for the late reply.

The LiteSpeed Cache → Page Optimization → Tuning → “Lazy Load Excludes” field doesn’t exist even on the latest version (https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-tab).

In Media Settings I have “Lazy Load Iframes” set to OFF.

BUT, I found the culprit. EWWW Image Optimizer also had a Lazy Loading option for the images and, as soon as I disabled it, the embed started showing up correctly again.

SnakeEater
tagDiv Member

I thought I made it very clear that iframe lazyload and cache are disabled.

Do you exclude the cause could be something else?

SnakeEater
tagDiv Member

On a more careful inspection, the lazyloaded class is also there when loading the page while the video is in view and goes correctly in full screen.

So can this actually be an issue with some other resources (that takes care of stretching the item to full-width) not being loaded correctly?

SnakeEater
tagDiv Member

Unfortunately I am still struggling. As I said, I have also tried disabling the Litespeed Cache plugin entirely.

Here you can see that the container correctly goes full-width but the embed element doesn’t. I can see that the video has the lazyloaded class applied, I just don’t understand why.

In Litespeed Cache I have iframe lazy loading completely disabled, and I have also put is-type-video and youtube-embed in the classes to filter out from iframe lazyload.

I am running out of ideas.

SnakeEater
tagDiv Member

Got the same issue, I am now trying to enable the separate Mobile Cache in LiteSpeedCache and hope that fixes the issue.

SnakeEater
tagDiv Member

Perfect, thank you

SnakeEater
tagDiv Member

Well, never mind, I could just use the same syntax as before with “if (has_category(’16’))”, I dunno why it was not working before

SnakeEater
tagDiv Member

Thank you so much, Anamaria, this was exactly what I needed.

SnakeEater
tagDiv Member

This doesn’t really answer my question.

Click on any article/news to see the missing menu on mobile.

SnakeEater
tagDiv Member

@pinnaclecompass thank you so much for this workaround, it worked perfectly!

It definitely feels like tagDiv should introduce a Raw JS block since the functionality is already there!

SnakeEater
tagDiv Member

Just want to write an update on this: something super weird!

The edit I did actually worked, but only if I put the Subtitle element before the raw containing the post content, or after it. Just not in the same row.

No clue why, but this fixed it for me.

SnakeEater
tagDiv Member

Hi, I am running into a problem:

If I add echo '<b>Genere: </b>'.get_field('genre').' '; inside an existing template (ie plugins\td-standard-pack\Newspaper\parts\single\loop-single-8.php) it works just fine, I see

Genre: Rock

What I am trying to do, though, is to inject the field in a custom template. Following your suggestion, I decided to edit td-cloud-library\shortcodes\single\tdb_single_subtitle.php


//if ( empty($post_subtitle_data['post_subtitle'])) {
// return $buffy;
//}

$buffy .= '<div class="' . $this->get_block_classes($additional_classes) . '" ' . $this->get_block_html_atts() . '>';

//get the block css
$buffy .= $this->get_block_css();

//get the js for this block
$buffy .= $this->get_block_js();

$buffy .= '<div class="tdb-block-inner td-fix-index">';

$buffy .= '<b>Genere: </b>'.get_field('genre').' ';
//$buffy .= '<' . $title_tag . '>' . $post_subtitle_data['post_subtitle'] . '</' . $title_tag . '>';
$buffy .= '</div>';

$buffy .= '</div>';

return $buffy;

the result is that the field data doesn’t get pulled.

I see “Genre: ” instead of “Genre: Rock”.

Any idea what could be causing this?

SnakeEater
tagDiv Member

To give more clarity on my situation, I go in the theme panel, I make one whatever change to the header. I press Save Settings, I get the V notification. I press F5 (or Ctrl-F5 for that matter), the settings reverted to the default ones.

For what it’s worth these are the things that I have done so far:

– Reinstalled theme and plugins
– Checked all file permissions on my server
– Deactivated all plugins that are not TagDiv (I also tried deactivating all of them too)
– Removed all cache files from the server
– Checked that I can execute admin-ajax.php (returns 0)

Fairly sure there is also a whole load of other stuff I tried to do, still no luck. If it’s of any help, this is happening as I am testing migration from Newspaper 8 to Newspaper X (doing this on a separate domain than the registered one)

SnakeEater
tagDiv Member

Having the same issue. Bounced through several similar posts, can you please share the solutions publicly, rather than in private via email?

– I am self-hosting
– All system settings look correct in the panel
– I have all non-td plugins deactivated
– I currently have no htaccess

SnakeEater
tagDiv Member

I solved the problem by using the following SQL query:

UPDATE wp_postmeta dt1, wp_postmeta dt2
SET dt1.meta_value = dt2.meta_value
WHERE dt1.post_id = dt2.post_id AND dt1.meta_key = "td_post_theme_settings" AND dt2.meta_key = "td_review"

SnakeEater
tagDiv Member

I additionally realized that if I process 2000 items at the time, I get the error message 949 times.

If through phpmyadmin I go and check how many entries have a td_review field, they are 475, exactly half of it.

Wouldn’t it also be possible to fix the problem with an sql query?

SnakeEater
tagDiv Member

Thanks for the follow-up via mail. To sum-up the problem:

If on td_first_install.php I use the code

// empty -> any version
if (!empty($td_db_version)) {
// wp_parse_args format
$args = array(
'post_type' => array('page', 'post'),
'numberposts' => '10',
'offset' => 0,
'orderby' => 'post_date',
'order' => 'DESC',
'meta_query' => array(
'relation' => 'OR',
array('key' => 'td_homepage_loop_filter'),
array('key' => 'td_unique_articles'),
array('key' => 'td_smart_list'),
array('key' => 'td_review')
),
'update_post_term_cache' => false,
);

I get the error

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

which refers to the line

foreach ($td_review[0] as $filter_key => $filter_value) {

I am not sure where the error is, I am running PHP 5.6 and even if my plugins are disabled the problem persists.

I know it’s the weekend but I hope someone will be able to help before the beginning of next week 🙁

SnakeEater
tagDiv Member

Thank you, I just sent an email with all the details

SnakeEater
tagDiv Member

Sorry if I wasn’t clear.
WordPress allows users to “split” single posts in multiple parts (what I referred to as “pages”, my mistake).

For instance, you can see above the score, that there are two parts of the review. I’d like to show the summary only if the reader is on the last part.

http://www.playstationbit.com/primo-piano/recensioni/mcdroid-recensione

Thanks for the help!

SnakeEater
tagDiv Member

If you have Newspaper, you need to edit td_social_counter_009.php (in the “shortcode” folder)

SnakeEater
tagDiv Member

is there a way I can change the social icon in the author box from style 4 to, let’s say, style 2? I tried via custom css, but the icon just desappears…

I would also like to change the color of the text in the author box from grey to white.

SnakeEater
tagDiv Member

I think there was a problem with the cache, or something similar. Now the problem is fixed, but I can’t manage to get rid of the white bar that you can see in the image here

How can i do this?

SnakeEater
tagDiv Member

Ok, I feel pretty stupid, but I guess I just had to upload a bigger image 🙂

SnakeEater
tagDiv Member

Hi Lucian, these measures seem not to work on the 4.4 updated version of the theme. The menu is back to how it loocked before. How can I fix this?

Viewing 25 posts - 1 through 25 (of 29 total)