Error on install on php 7.4 + Last Wp
]]>[14-Apr-2023 13:59:25 UTC] PHP Warning: Undefined array key “date” in /home/site/public_html/wp-content/plugins/error-log-viewer-wp/includes/error-log-viewer.php on line 45
]]><code><span style=”color: #000000″> <br /> $log_date = date( ‘d-M-Y’, strtotime( sanitize_text_field( $_POST[‘date’] ) ) ); <br /> <br />} elseif ( ! isset( $_GET[‘date’] ) && empty( sanitize_text_field( $_GET[‘date’] ) ) && !isset( $_GET[‘type’] ) && empty( sanitize_text_field( $_GET[‘type’] ) ) ) { <br /> <br /> $last_log = elvwp_get_last_log(); <br /> <br /></span> </code>
My error log is at “/public_html/wp-content/elm-error-logs/php-errors.log”, it has a lot of content from today. It doesn’t show any of it and says “There are currently no PHP error log entries available for this date.” it also has “fatal errors” ticked for some reason.
Note that I also disabled my other plugin, disabled and reanabled this plugin, added more log entries and I still don’t see any… There is also no log file at “/public_html/wp-content/uploads/error-log-viewer-wp”.
]]>