Announcement

Collapse
No announcement yet.

Transient_ReadyTheme_NavigationSet fails to save navigation set as transient

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Transient_ReadyTheme_NavigationSet fails to save navigation set as transient

    I am so thoroughly baffled at what's going on - I have a ReadyTheme Navigation Set with the code 'navigation_all-categories' that DOES NOT SAVE as a transient. The navigation set loads to the page just fine, but no transient is ever saved. Several other navigation sets on the same page have no issue with saving and being loaded in as transients.

    Here's the code:

    Code:
    <mvt:do file="g.Module_Root $ '/modules/util/transients.mvc'" name="l.settings:transnavigation_allcategories" value="Get_Transient( 'navigationset__navigation_all-categories' )" />
        <mvt:if expr="l.settings:transnavigation_allcategories">
            &mvt:transnavigation_allcategories;
        <mvt:else>
            <mvt:item name="readytheme" param="navigationset( 'navigation_all-categories' )" />
            <mvt:do file="g.Module_Root $ '/modules/util/transients.mvc'" name="l.settings:cachednavigationsets-all-categories" value="Transient_ReadyTheme_NavigationSet( 'navigation_all-categories', 60*60*24)" />
        </mvt:if>
    I've tried the following without success (list is probably not exhaustive - my brain's a bit fried from this):

    1) Renaming the navigation set
    2) Copy and pasting the exact code that's used with the other nav transients and replacing them with the appropriate code
    3) Using Transient_ReadyTheme_NavigationSet_WithSettings
    4) Using the format at https://github.com/tessguefen/miva_transients, where Transient_ReadyTheme_NavigationSet is called first
    5) Trying to save a different navigation set as a transient (didn't work)
    6) Deleting a transient (thinking there may be a limit, currently there are 8 navigation set transients saved), then firing a Transient_ReadyTheme_NavigationSet (still didn't save)
    7) Saving a simple value as a transient using Set_Transient (works)

    Any and all help would be greatly, greatly appreciated as to why this may be happening!
    Last edited by new_user2018; 06-18-18, 11:59 AM.

    #2
    Maybe this will help? https://www.miva.com/forums/forum/de...nsients-module
    Sabine Sharp
    eCommerce Strategies & Solutions
    Glendale Designs
    Support Desk
    623.322.6066

    Comment


      #3
      Originally posted by GDesigns View Post


      Thank you so much!!

      Comment

      Working...
      X