VikBooking Hotel Booking Engine & PMS

Famous Booking Engine, PMS and Hotel Reservations plugin for property managers. The best solution for accommodations to drive more direct bookings.

v1.8.12e4jvikwpUpdated Added 8k+ installs96% rating
25
Score
13,232
Errors
8,312
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

21,544 findings

Security

10,553

6 issue groups

Maintainability

10,242

16 issue groups

I18n

504

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"%d {$currencysymb} - %d {$currencysymb}"'.9,939
Category
Security
Occurrences
9,939
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"%d {$currencysymb} - %d {$currencysymb}"'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$K_PATH_CACHE".7,298
Category
Maintainability
Occurrences
7,298
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$K_PATH_CACHE".

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.1,607
Category
Maintainability
Occurrences
1,607
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "ArrayHelper".442
Category
Maintainability
Occurrences
442
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "ArrayHelper".

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"File {$fbase} not found"'.374
Category
Security
Occurrences
374
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"File {$fbase} not found"'.

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.238
Category
I18n
Occurrences
238
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().194
Category
I18n
Occurrences
194
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORMaintainabilityNot AllowedUse of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead189
Category
Maintainability
Occurrences
189
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DATAMATRIXDEFS&quot;.177
Category
Maintainability
Occurrences
177
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DATAMATRIXDEFS&quot;.

ERRORMaintainabilityfile system operations fcloseFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().80
Category
Maintainability
Occurrences
80
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

Show 15 more
ERRORI18nUnordered Placeholders Text72
Category
I18n
Occurrences
72
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Invoices Generated: %d - Invoices sent via eMail: %d'.

ERRORSecurityUnsafe printing function70
Category
Security
Occurrences
70
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORMaintainabilityrand rand69
Category
Maintainability
Occurrences
69
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

WARNINGSecurityInput is not sanitized67
Category
Security
Occurrences
67
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[&#039;backlogo&#039;][&#039;name&#039;]

ERRORMaintainabilityunlink unlink67
Category
Maintainability
Occurrences
67
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGSecurityInput is not validated52
Category
Security
Occurrences
52
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[&#039;backlogo&#039;][&#039;error&#039;]. Check that the array index exists before using it.

WARNINGSecurityMissing nonce verification51
Category
Security
Occurrences
51
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityerror log print r50
Category
Maintainability
Occurrences
50
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

ERRORMaintainabilitystrip tags strip tags45
Category
Maintainability
Occurrences
45
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORMaintainabilityfile system operations fwrite44
Category
Maintainability
Occurrences
44
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERRORMaintainabilityfile system operations fopen38
Category
Maintainability
Occurrences
38
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

ERRORMaintainabilityMissing direct file access protection37
Category
Maintainability
Occurrences
37
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORMaintainabilityfile system operations fread36
Category
Maintainability
Occurrences
36
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().

WARNINGMaintainabilityDynamic hook name32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$bc&quot;.

WARNINGMaintainabilityNon-prefixed hook name31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;get_supported_payments_&#039; . $plugin&quot;.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.8.12

25

Latest

Findings
21,544
Errors
13,232
Warnings
8,312
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins