mis_documentos.php
Showing 35 of 35 total issues
Variable $text
is undeclared Open
Open
.append(`<label class='form-label'><?= $text["document"]?>:</label>`, {class: "form-label"})
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
alert("<?= $text["max_number_reached"];?>");
- Create a ticketCreate a ticket
- Exclude checks
Call to method process
from undeclared class \Procedure
Open
Open
$result = $procedure->process($_POST, $_FILES);
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \Procedure
Open
Open
$procedure = new Procedure($_SESSION["email"]);
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
let helpText = $("<small><?= $text["accepted_files"]; ?></small>", {class: "form-text text-muted"});
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \krumo()
Open
Open
krumo($result);
- Create a ticketCreate a ticket
- Exclude checks
Call to method get_user_files
from undeclared class \Procedure
Open
Open
$user_files = $procedure->get_user_files();
- Create a ticketCreate a ticket
- Exclude checks
Call to method get_document_types_string
from undeclared class \Procedure
Open
Open
const documentTypes = [<?= $procedure->get_document_types_string(); ?>];
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<h2><?= $text["upload_required_documents"]; ?></h2>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
type="button"><?= $text["add_document"]; ?></button>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<?= $text["accepted_files"]; ?>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
.append(`<label class="form-label"><?=$text["document_name"];?></label>`)
- Create a ticketCreate a ticket
- Exclude checks
Call to method get_user_type
from undeclared class \Procedure
Open
Open
$user_info = $procedure->get_user_type("");
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<label class="form-label" for="file"><?= $text["document"]; ?>:</label>
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \get_footer()
Open
Open
get_footer();
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \wp_get_current_user()
(Did you mean \get_current_user()) Open
Open
$user = wp_get_current_user();
- Create a ticketCreate a ticket
- Exclude checks
Call to method get_document_types
from undeclared class \Procedure
Open
Open
$document_types = $procedure->get_document_types();
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<button type="submit" name="submit" class="btn btn-success"><?= $text["send"]; ?></button>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
.append(`<label class='form-label'><?= $text["document_name"]?>: </label>`)
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
alert("<?= $text["file_too_large"];?>");
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<h1 class="display-4"><?= $text["procedure_title"]; ?></h1>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<label for="document_type" class="form-label"><?= $text["document_type"]; ?></label>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
class="btn btn-secondary"><?= $text["back"]; ?></button>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<title><?= $text["site_name"] . " - " . $text["procedure_title"]; ?></title>
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \get_header()
(Did you mean \get_headers()) Open
Open
get_header();
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<?= $text["process_success"]; ?>.
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<label for="document_name" class="form-label"><?= $text["document_name"]; ?></label>
- Create a ticketCreate a ticket
- Exclude checks
Variable $text
is undeclared Open
Open
<h1><?= $text["my_documents"]; ?></h1>
- Create a ticketCreate a ticket
- Exclude checks
Define a constant instead of duplicating this literal "document_name" 5 times. Open
Open
target="_blank"><?= (!empty($document["document_name"])) ? $document["type"] . " - " . $document["document_name"] : $document["type"]; ?></a>
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Define a constant instead of duplicating this literal "email" 3 times. Open
Open
$_SESSION["email"] = $user->user_email;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line exceeds 120 characters; contains 172 characters Open
Open
target="_blank"><?= (!empty($document["document_name"])) ? $document["type"] . " - " . $document["document_name"] : $document["type"]; ?></a>
- Create a ticketCreate a ticket
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php foreach ($user_files["data"] as $document): ?>
- Create a ticketCreate a ticket
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php if (count($user_files["data"]) > 0): ?>
- Create a ticketCreate a ticket
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php foreach ($document_types as $document): ?>
- Create a ticketCreate a ticket
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php if (isset($result)): ?>
- Create a ticketCreate a ticket
- Exclude checks