• Resolved daneiyol

    (@daneiyol)


    Hi there, thanks for the assistance in advance.

    I’m not sure what transpired and it was a little confusing but I copied one of the galleries in an attempt to duplicate it, which seemed normal, I was able to make the edits etc, I copied shortcode to add it to the page referenced, where there were 2 galleries already, so this was the third. Once I added and previewed the page, I noticed all 3 galleries were gone and when checking the console I see a few Uncaught SyntaxErrors, saying invalid or unexpected tokens at:position-xyz. When I follow the error, it takes me to the js for the plugin, so I’m sure what’s wrong. I deleted the plugin & the 2 database tables, reinstalled, and i’m still getting the same issue. How can I rectify this?

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author totalsoft

    (@totalsoft)

    Hello, dear daneiyol.

    Thank you for contacting us. Our team is always ready to help you.

    Could you please provide us with the following information so we can assist you further?

    Can you please give a link where we can see the video gallery plugin?

    Could you share more details about what exactly isn’t working?

    What are your current PHP and WordPress versions?

    Do you have any caching or optimization plugins activated?

    Could you record a short video demonstrating the issue?
    Looking forward to your reply.

    Thank you

    Thread Starter daneiyol

    (@daneiyol)

    Sure no problem,

    Link: https://barbadosninjathrowdown.com/videos-reviewing/

    The video Gallery isn’t working in the browser, please review the console logs when you look at the page.

    PHP: 8.2.25

    WordPress: 6.6.2

    I have WP Optimize installed, I tried clearing the cache and that didn’t resolve the issue either

    The video may not be necessary, once you load the page in the browser and have a look at the console logs you will have my entire experience, everything else works on the backend also so it’s odd

    Plugin Author totalsoft

    (@totalsoft)

    Hello, dear sartech.

    Thank you for contacting us and reporting your problem.

    Please make this change in the gallery.

    Plugin Author totalsoft

    (@totalsoft)

    public\popup_partials\tsvg-lb-video-gallery_popup.php

    in 451 line

    on markup(variable) change firstand last ' (single quotation mark) to ` (backward quotation mark)

    public\tsvg-pagination.php

    in 551 line change line to

    jQuery('.tsvg-section- .tsvg-pagination-pages').append(<li data-item-number="${tsvgItemNumber}" class="tsvg-pagination-page-item tsvg-pagination-page-number "><a class="tsvg-pagination-page-link" href="javascript:void(0)">${tsvgItemNumber}</a></li>)

    in 556 line change line to

    jQuery('.tsvg-section- .tsvg-pagination-pages').append(<li data-item-number="${tsvgPaginationItemsLenth}" class="tsvg-pagination-page-item "><a class="tsvg-pagination-page-link" href="javascript:void(0)">${tsvgPaginationItemsLenth}</a></li>)

    in 560 line change line to

    jQuery('.tsvg-section- .tsvg-pagination-pages').append(<li data-item-number="${tsvgPaginationItemsLenth}" class="tsvg-pagination-page-item "><a class="tsvg-pagination-page-link" href="javascript:void(0)">${tsvgPaginationItemsLenth}</a></li>)

    in 562 line change line to

    jQuery('.tsvg-section- .tsvg-pagination-pages').append(<li class="tsvg-pagination-page-item tsvg-pagination-page-item-next" data-item-number="next"><a href="javascript:void(0)" class="tsvg-pagination-page-link" ><span>${tsvgNextText}</span><i class="${tsvgNextIcon}"></i></a></li>)
    Plugin Author totalsoft

    (@totalsoft)

    We are always happy to hear from you and solve all problems. We will develop the plugin with you. For us, the most important thing is that the plugin should be used by the developers themselves.

    Have a good day!

    Thread Starter daneiyol

    (@daneiyol)

    Okay, I made the suggested changes and a few of the errors went away, there are still two remaining however, can you advise on those as well?

    Plugin Author totalsoft

    (@totalsoft)

    Please change

    public\popup_partials\tsvg-lb-video-gallery_popup.php
    in line 661 change line to
    ????????????????????????????????myClone = $(pp_images[set_position]).clone().css({ ‘width’: settings.default_width }).wrapInner(<div id="tsvg_pp_full_res<?php echo esc_attr( $tsvg_shortcode_id ); ?>"><div class="pp_inline<?php echo esc_attr( $tsvg_shortcode_id ); ?> tsvg_clearfix<?php echo esc_attr( $tsvg_shortcode_id ); ?>"></div></div>).appendTo($(‘body’));

    public\tsvg-pagination.php
    in line 548 change line to


    jQuery(.tsvg-section-<?php echo esc_attr( $tsvg_shortcode_id ); ?> .tsvg-pagination-pages).append(<li class="tsvg-pagination-page-item tsvg-pagination-page-item-prev" data-item-number="prev"><a href="javascript:void(0)" class="tsvg-pagination-page-link"><span >${tsvgPrevText}</span> <i class="${tsvgPrevIcon}"></i></a></li>)

    Thread Starter daneiyol

    (@daneiyol)

    Okay, making progress, the pagination file has 10 or so more occurrences to be changed and everything inside the append and after functions need to be wrapped inside HERE to avoid throwing further errors. but I’m getting a new one now, can you have a look?

    Plugin Author totalsoft

    (@totalsoft)

    Hello, dear milena13.

    Thank you very much for your question.

    Thanks for using our TS Video gallery plugin. Our team is always happy to help you.

    In version 2.3.9 the problem is solved. You are updating TS Video Gallery.

    We are always happy to hear from you and solve all problems. We will develop the plugin with you. For us, the most important thing is that the plugin should be used by the developers themselves.

    Thanks for the good suggestion.

    Have a good day!

    Thread Starter daneiyol

    (@daneiyol)

    Sweet, thank you. When exactly will I be able to access this update?

    Plugin Author totalsoft

    (@totalsoft)

    Sorry for the late reply. The problem has already been solved in the new version of the gallery. Version 2.3.9 is already available, you can update the plugin.

    Thread Starter daneiyol

    (@daneiyol)

    Okay, no problem. My apologies I only just saw the update.. Only thing now is that I updated and I’m still getting 2 errors…

    Thread Starter daneiyol

    (@daneiyol)

    I would appreciate if you could wait until I confirm the issues are resolved before discarding the thread please, there’s still an issue and I’m awaiting a response, this is an important update for me..

    Plugin Author totalsoft

    (@totalsoft)

    We want to do another update. Can you please put three galleries on the page for a few hours again?

    Thread Starter daneiyol

    (@daneiyol)

    Sure no problem, will try to do that before the end of the day, my apologies for nagging also, was just trying to get it sorted but I realized the issues that reoccurred were ones that we had addressed prior to the update, plus a couple others tbh, all the after and append statements that followed but I updated the files again and it’s working for now, but that’s based on how I have my gallery configured, I assume other configs would cause issues since they would trigger other backend files to run. I will send another message once I have re-added the other galleries.

Viewing 15 replies - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.