Call to method get_orders_current_user
from undeclared class \Procedure
$procedure_data = $procedure->get_orders_current_user(["start" => $current_page, "items" => $items_per_page]);
Variable $text
is undeclared
<h1 class="display-4"><?= $text["procedure_title"]; ?></h1>
Variable $text
is undeclared
<caption><?= $text["procedure_list"]; ?></caption>
Variable $text
is undeclared
tabindex="-1"><?= $text["first"]; ?></a>
Variable $text
is undeclared
<h2><?= $text["my_procedures"]; ?></h2>
Variable $text
is undeclared
<th id="4" scope="col"><?= $text["update_date"] ?></th>
Call to undeclared function \get_footer()
get_footer();
Call to undeclared function \wp_get_current_user()
(Did you mean \get_current_user())
$user = wp_get_current_user();
Variable $text
is undeclared
<h4><?= $text["procedure_check"]; ?></h4>
Variable $text
is undeclared
href="<?= $_SERVER["PHP_SELF"] . PAGE . ($current_page + 1); ?>"><?= $text["next"]; ?></a>
Call to undeclared function \krumo()
krumo($e);
Variable $text
is undeclared
<th id="5" scope="col"><?= $text["status"] ?></th>
Variable $text
is undeclared
href="<?= $_SERVER["PHP_SELF"] . PAGE . ($current_page - 1 < 1 ? 1 : $current_page - 1); ?>"><?= $text["previous"]; ?></a>
Variable $text
is undeclared
<title><?= $text["site_name"] . " - " . $text["procedure_title"]; ?></title>
Variable $text
is undeclared
<th id="6" scope="col"><?= $text["action"] ?></th>
Variable $text
is undeclared
<span><?= $text["no_results"]; ?></span>
Call to method __construct
from undeclared class \Procedure
$procedure = new Procedure($_SESSION["email"]);
Variable $text
is undeclared
href="formulario.php?procedure_id=<?= $row["id"]; ?>"><?= $text["open"] ?></a>
Variable $text
is undeclared
<a href="tramites.php" class="btn btn-secondary"><?= $text["back"]; ?></a>
Variable $text
is undeclared
<th id="1" scope="col"><?= $text["name"]; ?></th>
Call to undeclared function \get_header()
(Did you mean \get_headers())
get_header();
Variable $text
is undeclared
<th id="2" scope="col"><?= $text["user"] ?></th>
Variable $text
is undeclared
<th id="3" scope="col"><?= $text["creation_date"] ?></th>
Variable $text
is undeclared
href="<?= $_SERVER["PHP_SELF"] . PAGE . ($total_pages); ?>"><?= $text["last"]; ?></a>
Remove this commented out code.
Define a constant instead of duplicating this literal "email" 3 times.
$_SESSION["email"] = $user->user_email;
Define a constant instead of duplicating this literal "PHP_SELF" 4 times.
<a class="page-link" href="<?= $_SERVER["PHP_SELF"] . PAGE . 1; ?>"
Remove this commented out code.
Line exceeds 120 characters; contains 121 characters
<?php if (isset($procedure_data) && isset($procedure_data["data"]) && count($procedure_data["data"]) > 0): ?>
Line exceeds 120 characters; contains 150 characters
href="<?= $_SERVER["PHP_SELF"] . PAGE . ($total_pages); ?>"><?= $text["last"]; ?></a>
Line exceeds 120 characters; contains 155 characters
href="<?= $_SERVER["PHP_SELF"] . PAGE . ($current_page + 1); ?>"><?= $text["next"]; ?></a>
Line exceeds 120 characters; contains 187 characters
href="<?= $_SERVER["PHP_SELF"] . PAGE . ($current_page - 1 < 1 ? 1 : $current_page - 1); ?>"><?= $text["previous"]; ?></a>
Expected 1 space after ELSE keyword; 0 found
<?php else: ?>
Expected 1 space after closing parenthesis; found 0
<?php foreach ($procedure_data["data"] as $row): ?>
Expected 1 space after closing parenthesis; found 0
<?php if (isset($procedure_data) && isset($procedure_data["data"]) && count($procedure_data["data"]) > 0): ?>
There are no issues that match your filters.