Support » Plugin: Tainacan » Blank page on item page

  • Resolved lesgrandsours

    (@lesgrandsours)


    Hi,
    First, thank you for this awesome project.
    I’m having trouble with the item page. It seems tainacan is in conflict with the other pluging I’m using: Geodirectory, and Gantry 5 for the framework.
    I’m working local and there’s pretty much nothing on my install.
    The result is a blank page.
    Do you have any idea of what might be causing that ?
    Thank you in advance,

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mateus Machado Luna

    (@wetah)

    Hi there!

    Thank you for your interest on the plugin and sorry for the late answer! This is an early release so there are lot’s of features under construction and evaluation. Actually, we’re about to release Alpha 0.3. In any case it is important to have people like you testing these situations, it helps us a lot!

    So let’s try to figure out what is going on. Can you see any sort of message in the developer’s console? The item page that appears blank is at the Admin panel or in your theme? We’re also about to release the Tainacan official theme, which will provide better ways to visualize this items in your blog.

    Also, if you want to extend this conversation and give more details, you can also reach us in the community list: tainacan@lists.riseup.net.

    Feel free to answer wherever you prefer.

    Plugin Author Mateus Machado Luna

    (@wetah)

    Better, are you able to activate WP_DEBUG to see if there is any error on the Apache Logs?

    Plugin Author leogermani

    (@leogermani)

    Hi @lesgrandsours,

    Blank pages can be caused by Internal Server Errors.

    You can check the error log from you server, or, as Mateus mentioned, set this WP_DEBUG constant to you wp-config.php file so the errors will be printed on the screen.

    You can do this by editing you wp-config.php file and adding this line right below your database credentials:

    define( 'WP_DEBUG', true);

    Hi guys,
    Thanks for your reply. I update the wp-config.php file to activate the debug mode. So far, nothing new. I also checked apache logs but there’s nothing interesting neither.
    About the blank page, it’s a total one. There’s nothing at all. The console shows blank too.
    I’ll try the Alpha 0.3 and keep you in touch.
    Thanks again!

    Plugin Author leogermani

    (@leogermani)

    In that case, you are facing the famous White Screen of Death. I recommend you deactivate all plugins and activate one by one to find out which is causing the error.

    Have a look at this link: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/

    Please let us know what you find out.

    And please upgrade to tainacan 0.3.

    Cheers

    • This reply was modified 1 year, 2 months ago by  leogermani.

    Yeap. I did the upgrade. Same same…
    I tried with a standard template. It worked.
    But when I activate gantry, the error comes back.
    Any idea ?

    Thx

    Plugin Author leogermani

    (@leogermani)

    Ive downloaded Gantry and I think I found the incompatibility.

    I just made a small modification and I think it will work now, could you give it a try?

    Just download version 0.3 again and let us know if it solves the problem.

    Please note that although Tainacan will work with any theme, it is hard to tell how good it will look. If you want to give it a try, download our default theme at tainacan.org/new/download (the theme isnt released yet but there is a nightly build available).

    We will work on shortcodes and Gutenberg block to make it easier for collections to look good in any theme, but I believe that to make it really good some tweaks will be necessary so the theme can support all Tainacan features. (more or less like Woocommerce an buddypress themes)

    Hope it works fine for you. Please let us know and share any achievements.

    Cheers

    Leo,,

    Plugin Author leogermani

    (@leogermani)

    For the sake of history, this was the error I found

    
    Fatal error: Uncaught TypeError: Argument 1 passed to Tainacan\Theme_Helper::is_post_an_item() must be an instance of WP_Post, instance of Timber\Post given, called in /home/leo/devel/wordpress/wp-content/plugins/test-tainacan/theme-helper/class-tainacan-theme-helper.php on line 125
    

    Gantry plays around with the global $post variable… luckly there was an elegant solution.

    Thanks!!! Work great!
    I’ll check you theme out to see if I can use it in my project.
    Anyway thank you so much for such a good support.
    I’ve already said it but your project is awesome. Just what I needed.
    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blank page on item page’ is closed to new replies.