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 :)
dimitrisv
tagDiv Member

Disabling REDIS at will it is not the optimal solution.

As said before the issue has to do with prefetch.

Here is an example of how we exclude various “keys” for the transients and the pods framework.

Please ask your development team to provide us with the keys they are using regarding authentication (in both newspaper and optin-builder) so that I can test them.

define('WP_REDIS_CONFIG', [
'non_prefetchable_groups' => [
'transient',
'PodsAPI/_load_objects',
'pods_post_type_storage__pods_pod',
'pods_post_type_storage__pods_field'
],
]);

dimitrisv
tagDiv Member

Hey Calin,

this is not the case anymore. Wit the latest version of Redis you have an issue.

We are using the plugin version 1.24.5 of Objec cache Pro and ever since the update to 1.24.x we keep getting the message:

“No update needed
Your site’s database is up to date!”

If it tells you something, it is a similar issue with the login/membership section in TagDiv.

There are numerous posts here about this mulfunction and your recommendation that you do not support Object Cache.

Here is a related link from the time when we could login to our sites, but optin builder had issues.

https://forum.tagdiv.com/topic/password-reset-link-not-working-in-optin-builder/

It will be great if you can tell us which keys to exlude. Most likely the new prefetch implementation is the culprit.

  • This reply was modified 11 months by dimitrisv.
dimitrisv
tagDiv Member

Yes it solved it for the first part.

For the second part (when you do need to actually type the new passwords) it fails again.

I couldn’t be bothered so I disabled Redis all together.

Please ask your developers to make this redis compatible.

Also to make “forgot your password” code compatible with WP Rocket and/or provide us with a full list of the exceptions that we have to make

dimitrisv
tagDiv Member

The issue had to do with Redis.

Follow the instructions here:
https://forum.tagdiv.com/topic/the-password-reset-key-is-invalid-2/

Or -if this fails as it was in our case – do this:
if ( isset( $_SERVER['REQUEST_URI'] ) && (
strpos( $_SERVER['REQUEST_URI'], '/tds-login-register' ) !== false ||
strpos( $_SERVER['REQUEST_URI'], '/wp-login' ) !== false
) ) {
define( 'WP_REDIS_DISABLED', true );
}

(just add the registration ulrs that you are using)

dimitrisv
tagDiv Member

I did 🙂

The email was sent 8:44 your time

  • This reply was modified 2 years by dimitrisv.
dimitrisv
tagDiv Member

Thank you!

I just sent credentials for two of the sites (that are based on different cloud library demo).

dimitrisv
tagDiv Member

Just to say that I fixed the sophiasamara.com with some custom code because the client could not wait for a fix by you.

.td-footer-wrap{background-color:#000 !important
}

#tdi_98{background-color:#000 !important
}

But you appreciate we cannot fix the about 10sites that we are using your theme, with something that will override the bug.

dimitrisv
tagDiv Member

In this one
https://esp.ecode.gr/

the split colour even goes to the menu style – the page is split into two… similar to the footer.

Something is going on here:
background-color: var(–center-demo-2);

  • This reply was modified 2 years by dimitrisv.
dimitrisv
tagDiv Member

I am having exactly the same issue in all my the sites I upgraded to version 12.6.6 that have “sticky” menus!

https://myloyalty.gr
https://sophiasamara.com/ (on sticky)

The row colour in the header does not seem to be propagated – and we have to work with cell colour but this is not feasible all the times.

dimitrisv
tagDiv Member

Five days later and no one had responded to the request for support email.

The issue persists.

dimitrisv
tagDiv Member

I have provided the details but no luck so far…

dimitrisv
tagDiv Member

Having disabled the newsletter and optin plugins now the error is this:

AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /home/850962.cloudwaysapps.com/hejdvngfwj/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php:957\nStack trace:\n#0 /home/850962.cloudwaysapps.com/hejdvngfwj/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php(957): array_filter()\n#1 /home/850962.cloudwaysapps.com/hejdvngfwj/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_categories.php(328): tdb_state_single->{closure}()\n#2 /home/850962.cloudwaysapps.com/hejdvngfwj/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_categories.php(328): Closure->__invoke()\n#3 /home/850962.cloudwaysapps.com/hejdvngfwj/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdb_single_categories->render()\n#4 /home/850962.cloudwaysapps.com/hejdvngfwj/public_html/wp-includes/shortcodes.php(433): t…’, referer: https://pathologia.eu/wp-admin/post.php?post_id=10238&td_action=tdc&tdbLoadDataFromId=21480&tdbTemplateType=single&prev_url=%2F%2Fpathologia.eu%2Fenimerosi%2Ftrith-hlikia%2Fnosos-alzheimer%2Fnosos-alzheimer-amfisviteitai-i-epikratesteri-theoria-gia-ti-noso-meta-apo-dyo-nees-meletes%2F

So it is obviously something that has to do with the single categories block.

The site runs on php 8.2

  • This reply was modified 2 years by dimitrisv.
  • This reply was modified 2 years by dimitrisv.
dimitrisv
tagDiv Member

Also these two errors (in another installation)

[Sat Feb 10 16:11:00.579386 2024] [proxy_fcgi:error] [pid 21641:tid 140153951602432] [client 2a02:587:3287:ba00:cd02:8709:f5b1:4d30:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Class “td_util” not found in /public_html/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-header.php:19\nStack trace:\n#0 /public_html/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-theme-plugins.php(59): require_once()\n#1 /public_html/wp-content/themes/Newspaper/includes/wp-booster/tagdiv-wp-booster-functions.php(499): require_once(‘/home/850962.cl…’)\n#2 /public_html/wp-includes/class-wp-hook.php(324): {closure}()\n#3 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#4 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#5 /public_html/wp-admin/admin.php(259): do_action()\n#6 {main}\n thrown i…’, referer: https://sofia.ecode.gr/wp-admin/admin.php?page=td_theme_plugins
[Sat Feb 10 16:12:23.815493 2024] [proxy_fcgi:error] [pid 21641:tid 140160662488832] [client 2a02:587:3287:ba00:cd02:8709:f5b1:4d30:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php:957\nStack trace:\n#0 /public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php(957): array_filter()\n#1 /public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_categories.php(328): tdb_state_single->{closure}()\n#2 /public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_categories.php(328): Closure->__invoke()\n#3 /public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdb_single_categories->render()\n#4 /public_html/wp-includes/shortcodes.php(433): t…’, referer: https://sofia.ecode.gr/2022/02/%cf%84%ce%b1-%ce%bd%ce%ad%ce%b1-%ce%bc%ce%b1%cf%82-%ce%b5%cf%81%ce%b3%ce%b1%cf%83%cf%84%ce%b7%cf%81%ce%b9%ce%b1/

dimitrisv
tagDiv Member

The solution was this:
function hide_element_for_logged_in_users() {
if ( is_user_logged_in() ) {
echo ‘<style>
.registration { display: none !important; }
</style>’;
}
}

add_action( ‘wp_head’, ‘hide_element_for_logged_in_users’ );

dimitrisv
tagDiv Member

Same issue here..

I added this code in my child theme functions.php so that I can hide the registration button when the user has already logged in but to no avail.

add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 11);
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, TD_THEME_VERSION, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’), TD_THEME_VERSION . ‘c’, ‘all’ );

}

function hide_element_for_logged_in_users() {
if ( is_user_logged_in() ) {
// Enqueue inline CSS
wp_add_inline_style( ‘td-theme-child’, ‘.registration { display: none !important; }’ );
}
}

add_action( ‘wp_enqueue_scripts’, ‘hide_element_for_logged_in_users’ );

dimitrisv
tagDiv Member

Thank you,

I will try it. I was under the impression that only rows can be visibile/hidden per device type.

However, it is good to write also here in this thread on how we can modify the breakpoint of the mobile menu. It will be great to have this alternative too!

dimitrisv
tagDiv Member

I am not quite getting it.

Can I hide the existing menu column for the two types of tablet and have visible for the two type the bottom row (and then hide the bottom row in the desktop and mobile versions)?

It will be much better, easier to just modify the break point of the mobile menu, so say, that if the width of the screen is less than 1000 pixels then the mobile menu will be activated. Where can I change this breakpoint?

dimitrisv
tagDiv Member

Anamaria this cannot happen because the description is this.

What we like to do is to make the mobile menu (that appears underneath) to also appear in a similar manner for displays up to 1000 pixel wide.

It will be most helpful if you tell me where do I set the breakpoint for this to happen.

dimitrisv
tagDiv Member

Thanks but I was not referring to this. I was to referring to your post of
May 5, 2023 at 12:53 pm
e.g. to ONLY Show the favourites and not the lot. The images are not there.

Please see my related post in here:
https://forum.tagdiv.com/topic/override-td_woo-code/

dimitrisv
tagDiv Member

Hi @Anamaria.

In one of your previous posts in this thread you are mentioning the capability to only show the favorites. Please advise on how to do it, because the image links that you shared are not available any more.

Thank you!

dimitrisv
tagDiv Member

Hi!

I am wondering if in the meantime there has been a way to globally change the default fonts from the cloud templates. If not is it please possible to let us know where they are stored so that we can do a manual search and replace?

dimitrisv
tagDiv Member

Hello,

the issue was solved but it re-appeared as soon as I installed WP-Rocket.

WP Rocket has the option to cache different versions for mobile devices – but it seems that the uncaching is not working. It also asks to disable the different caching per device in SG Optimizer.

If you have anything on the issue it will be helpful.

Thank you!

dimitrisv
tagDiv Member
dimitrisv
tagDiv Member

In the product page. Go to the editor (gutenberg) and choose the template.

dimitrisv
tagDiv Member

I sorted it out. It (you 🙂 ) require return instead of echo.

add_shortcode( 'category_pods', 'pods_category_shortcode' );
function pods_category_shortcode() {
$tdbLoadDataFromId = tdb_state_content::get_wp_query()->queried_object->term_id;
return do_shortcode(
'[pods name="product_cat" ID="'.$tdbLoadDataFromId.'"]'. '[/pods]'
);
}

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