Tourfic - Travel, Hotel, and Apartment Booking Solution for WooCommerce 2.13.11

Does "Tourfic - Travel, Hotel, and Apartment Booking Solution for WooCommerce" work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
16PHP fatal errors
No JavaScript exceptions
2Pages failed to load
  • 2 500 Internal Server Error
No resource errors
Performance

Memory usage: 0 bytes
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/tourfic/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=tourfic%2Ftourfic.php&plugin_status=all&paged=1&s&_wpnonce=04ff524169
Aspect after-activation
HTTP status 500
Load time 0.324 s
Memory usage N/A
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.043 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP66.1%68,3834,664237
CSS24.0%24,8181719
JavaScript9.3%9,6011,8755
Sass0.4%421263
Markdown0.1%11401
SVG0.0%47011
Total 103,384 6,736 266

PHP Code Analysis | More results »

Lines of code 57,100
Total complexity 10,533
Median class complexity 12.0
Median method complexity 3.0
Most complex class Tourfic\Classes\Tour\Tour
Most complex function Tourfic\Classes\Tour\Tour::tf_single_tour_booking_form()
Classes 131
Methods 705
Functions 55

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log 192 lines

[17-Oct-2024 11:03:56 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/plugins.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:57 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/index.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:57 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-blog-header.php(13): require_once('...')
#7 /index.php(17): require('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/index.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/edit.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/post-new.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/upload.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(700): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/options-writing.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php on line 562
[17-Oct-2024 11:03:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/tourfic/inc/Traits/Action_Helper.php:562
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Tourfic\Classes\Helper->tf_customer_role_caps()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

(+92 more lines)
See also: All tests for this plugin, How to Hide Tourfic - Travel, Hotel, and Apartment Booking Solution for WooCommerce Admin Menus and Meta Boxes