• Hi, every time I try and add a custom parameter to a report eg;
    WHERE START_DT > (‘<?php $_GET[thedate] ?>’)

    I get the following error:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Is there a way around this at all? Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Eli

    (@scheeeli)

    It would be helpful to know what that critical error actually is, can you view the relevant entries in the error_log file on your server to see what caused the error?

    Perhaps it would be better syntax to use code like this in your statement:
    WHERE START_DT > <?php $_GET[“thedate”] ?>

    Make sure that the quotes used are not made fancy by some editor.

    Also note that you will need to pass thedate in the QUERY_STRING of your URL when calling this report or it might trigger a PHP Warning about an undefined index.

Viewing 1 replies (of 1 total)
  • The topic ‘Passing parameter causing fatal error’ is closed to new replies.