• Resolved lahormig

    (@lahormig)


    Hi,

    For some reason, when I paste the WP Tables shortcode and go to the published post it only appears: “here will be a table”. I’ve tried with several tables and it always happens the same.

    Could anybody tell me how to fix it?

    Thank you!!!

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ian Sadovy

    (@iansadovy)

    Hello @lahormig,

    Thank you for the question.
    It seems that you are using Autoptimize plugin and there are some compatibility issues with WP Tables.
    I will take a look and publish the fix today or tomorrow.
    As a workaround, you can try to configure Autoptimize to include JS scripts in the header instead of the footer.

    I will update you soon. Hope it helps.

    Regards,
    Ian

    Thread Starter lahormig

    (@lahormig)

    Thank you so much Ian for your rapid response, now it works fine! ??

    I have the same issue. I have enabled “Force JavaScript in <head>?” in Autoptimize but this has not resolved the issue. Do you want me to post the page link here?
    Many thanks
    Justin

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hello Justin,

    Yes, you can include a link to your page. I will then check and publish an update.
    Hope it helps.

    Regards,
    Ian

    Hi Ian,

    Thank you for your post. The page url is below:

    https://www.jademinternational.com/lbm/members/

    This is a test site. The select statement etc all works fine and return results etc. but just wont return results in the web page. Unfortunately we need Autoptimize to bring up site speed for the live site.

    If you need anything else, be sure to let me know.

    Thank you
    Justin

    I see jQuery is not defined on the browser console. When looking at the (both autoptimized and not autoptimized) page source you seem to be using https://github.com/getify/LABjs, which loads js/jquery/jquery.js by LAB-javascript in the footer. So you could either configure LAB to load wptables’ JS after the dependencies are loaded OR you could exclude js/jquery/jquery.js from LAB.

    hope this helps,
    frank (ao dev)

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hello @radiusbenders,

    Thank you for giving me some time.
    I just have published the update that should fix the issue with jQuery in the footer.
    Please update and let me know if it works for you.

    Regards,
    Ian

    Hi Ian,

    Thanks for your prompt work and your assistance.

    I’ve updated the plugin and I’m still getting the same results i.e. the query is does not seem to be running.

    As I mentioned earlier, this is a test site, and I’d be prepared to give you temporary admin access if that will help with your investigations. If that will help, I would need an email address when creating a login for you.

    I also noted the comments in the post above from Frank. jquery.js has already been excluded in Autoptimize (so I’m not sure it’s quite that simple).

    Justin

    Hi Ian,

    I had a little time to play today and I have some updated information.

    We use a plugin called “WP deferred javaScript”. If I specifically deactivate this plugin, the page loads correctly with the table. Inside the plugin I tried to exclude js/jquery/jquery.js, but this did resolve the issue. It is only if the plugin is deactivated altogether that the page loads.

    This is one of the plugins we use to bring up our site speed. If you look at our live site (letterboxman.com.au) you will find that we achieve excellent speed (according to Google).

    Thanks
    Justin

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hello Justin,

    Thank you for the details.
    I have installed WP deferred javaScript and added compatibility with it to WPTables 1.3.5. It should work well now.
    Please update and let me know.

    Regards,
    Ian

    Hi Ian,

    Thank you! Yes, it does work well now.

    Many thanks for your work.

    Justin

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error “here will be a table”’ is closed to new replies.