• Hi Team,

    Using WP Hotelier with Uncode.
    Having an issue with seasonal price structure.
    When I save a room with seasonal prices, and try to load the room page, there is a wordpress fatal error.
    I have gone through the process of disabling all other plugins, and reinstalled WP Hotelier, but I haven’t been able to find a solution.
    When setting global price for the room, it works fine, but enabling seasonal prices seems to give the fatal error.
    Thanks in advance for the help.
    Best Regards,
    Alister

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author benitolopez

    (@benitolopez)

    Hello,

    Can you enable the debug and report the error message?

    Also, please be sure that you’re using the last version of Uncode, Uncode Core, WP Hotelier and WP Hotelier Uncode.

    Best Regards,
    Benito

    Thread Starter alisterio

    (@alisterio)

    Thanks Benito,

    I was able to find the cause of the problem.
    The global WP Hotelier option “Hide Room Price” was able to somewhat resolve (or mask) the issue (WP Hotelier > Settings > Rooms & reservations > Hide Room Price).
    The error does not occur when this is set to ‘hide’.

    If this is set to show, and seasonal prices are used on a room, there is the following error when trying to view the room page; “There has been a critical error on this website.”.

    Additionally, if I set the other options in the global room settings (“Hide room datepicker”, “Hide room details”), it removes these details from the top of the room webpage, but also from the widget content blocks that I have added using the Uncode page builder.

    I tried to use the logs function to provide more details, but I was not able to get the logs function to work.

    All plugins and themes are up to date, and I have the Uncode helper plugin installed as well (Github version shows 1.3.0).

    Best Regards,
    Alister

    Plugin Author benitolopez

    (@benitolopez)

    Hi Alister,

    Please enable the debug adding this line in your wp-config.php file:

    
    define( 'WP_DEBUG', true );
    

    Or change it to true if you already have that line set to false.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Seasonal Prices – Causing Fatal Error’ is closed to new replies.