• Resolved PhoenixOne

    (@phoenixone)


    The table with the search bar was working fine as was the up-down sort. They stopped working and do not know why or when. Please advise the best means to fix. Using Avada theme Have turned off plugin but cannot seem to find the issue. Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    It seems that you are using a solution called “Phast” to optimize your site. Unfortuantelt, that overaggressively changing how JavaScript files are loaded on the site. Due to this a script error is caused that breaks the evaluation of that JS code in the browser.
    As you are also using the Autoptimize plugin already (which does similar things), I recommend to turn off the JavaScript-features in Phast.

    Regards,
    Tobias

    Thread Starter PhoenixOne

    (@phoenixone)

    Tobias
    Thank you for the response. I disable BOTH plugins, cleaned cache files and no luck Same result missing search?
    Any other suggestions would be most welcomed.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    hhm, when I circumvent the use of aoptimize right now (by appending the ?no_aoptimize=1 URL parameter), everything is working for me… Can you maybe try that again?

    Regards,
    Tobias

    Thread Starter PhoenixOne

    (@phoenixone)

    I cannot see this as an option in the aoptimize dashboard These are the options shown:
    JavaScript Options

    Optimize JavaScript Code?
    Aggregate JS-files?
    Aggregate all linked JS-files to have them loaded non-render blocking? If this option is off, the individual JS-files will remain in place but will be minified.
    Also aggregate inline JS?
    Let Autoptimize also extract JS from the HTML. Warning: this can make Autoptimize’s cache size grow quickly, so only enable this if you know what you’re doing.
    Force JavaScript in <head>?
    Load JavaScript early, this can potentially fix some JS-errors, but makes the JS render blocking.
    Exclude scripts from Autoptimize:
    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js

    A comma-separated list of scripts you want to exclude from being optimized, for example ‘whatever.js, another.js’ (without the quotes) to exclude those scripts from being aggregated by Autoptimize. Important: excluded non-minified files are still minified by Autoptimize unless that option under “misc” is disabled.
    Add try-catch wrapping?
    If your scripts break because of a JS-error, you might want to try this.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    I didn’t really mean this as an option in the aoptimize settings. Sorry for the confusion here. This was merely meant to say that turning off aoptimize should solve the issue. However, you’d obviously lose the benefits that it offers, so that it might be smarter to exclude relevant JavaScript files from being minified again. Besides excluding the jquery.js file that is mentioned there, you could try excluding wp-content/plugins/tablepress/js/jquery.datatables.min.js as well.
    Unfortunately, I don’t really have experience with aoptimize or phast and can’t help with more specific instructions here, sorry.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Table Press Search and Column Set Sort Missing’ is closed to new replies.