Sape.ru integration 3.4.2

Does Sape.ru integration work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 104.5 KiB
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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 7,000+
WordPress.org page https://wordpress.org/plugins/saperu-integration/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=saperu-integration%2Fsaperu-integration.php&plugin_status=all&paged=1&s&_wpnonce=df57f98b55
Aspect after-activation
HTTP status 200
Load time 0.902 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

Sape - Monetise Your Site

Page screenshot: Sape - Monetise Your Site
URL /wp-admin/admin.php?page=page_sape
Aspect menu-item
HTTP status 200
Load time 0.160 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 1.448 s
Memory usage N/A
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.479 s
Memory usage 5.9 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.407 s0.269 s-0.138 s3.51 MiB3.6 MiB+ 99.34 KiB
/wp-admin/edit.php0.194 s0.171 s-0.023 s3.57 MiB3.66 MiB+ 89.81 KiB
/wp-admin/post-new.php0.774 s0.614 s-0.160 s6.06 MiB6.22 MiB+ 161.85 KiB
/wp-admin/upload.php0.746 s0.402 s-0.344 s3.52 MiB3.61 MiB+ 85.38 KiB
/wp-admin/options-writing.php0.214 s0.180 s-0.034 s3.5 MiB3.59 MiB+ 89.38 KiB
/wp-admin/media-new.php0.262 s0.244 s-0.018 s3.49 MiB3.59 MiB+ 97.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.178 s-0.007 s3.5 MiB3.6 MiB+ 95.33 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.613 s+0.007 s6.05 MiB6.2 MiB+ 158.49 KiB
/wp-admin/options-discussion.php0.452 s0.210 s-0.242 s3.5 MiB3.59 MiB+ 85.89 KiB
/wp-admin/edit-comments.php0.398 s0.178 s-0.220 s3.52 MiB3.6 MiB+ 81.97 KiB
/0.315 s0.150 s-0.165 s3.43 MiB
Average 0.414 s0.292 s-0.122 s3.97 MiB4.13 MiB+ 104.5 KiB

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
Language % Lines of code Comment lines Files
PHP94.2%3,3021,4654
PO File5.8%203671
Total 3,505 1,532 5

PHP Code Analysis | More results »

Lines of code 3,787
Total complexity 893
Median class complexity 40.5
Median method complexity 2.0
Most complex class SAPE_client
Most complex function SAPE_client::return_block_links()
Classes 14
Methods 203
Functions 3

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.

Options wp_options 10

Sidebar Widgets 1

ID Name
sape_linksSape Links

PHP Error Log 372 lines

[01-May-2025 17:09:17 UTC] PHP Fatal error:  Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /wp-content/uploads/.sape/sape.php:365
Stack trace:
#0 /wp-content/uploads/.sape/sape.php(365): flock()
#1 /wp-content/uploads/.sape/sape.php(613): SAPE_base->_read()
#2 /wp-content/uploads/.sape/sape.php(729): SAPE_base->_load_data()
#3 /wp-content/plugins/saperu-integration/saperu-integration.php(339): SAPE_client->__construct()
#4 /wp-content/plugins/saperu-integration/saperu-integration.php(345): Sape_API->_getSapeClient()
#5 /wp-content/plugins/saperu-integration/saperu-integration.php(510): Sape_API->_sape_return_links()
#6 /wp-includes/shortcodes.php(434): Sape_API->shortcode_sape()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(273): preg_replace_callback()
#9 /wp-content/plugins/saperu-integration/saperu-integration.php(194): do_shortcode()
#10 /wp-includes/class-wp-hook.php(324): Sape_API->render_remained_links()
#11 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /wp-includes/general-template.php(3208): do_action()
#14 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#15 /wp-includes/template.php(810): require_once('...')
#16 /wp-includes/template.php(745): load_template()
#17 /wp-includes/general-template.php(92): locate_template()
#18 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#19 /wp-includes/template-loader.php(106): include('...')
#20 /wp-blog-header.php(19): require_once('...')
#21 /index.php(17): require('...')
#22 {main}
  thrown in /wp-content/uploads/.sape/sape.php on line 365
[01-May-2025 17:09:24 UTC] PHP Fatal error:  Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /wp-content/uploads/.sape/sape.php:365
Stack trace:
#0 /wp-content/uploads/.sape/sape.php(365): flock()
#1 /wp-content/uploads/.sape/sape.php(613): SAPE_base->_read()
#2 /wp-content/uploads/.sape/sape.php(729): SAPE_base->_load_data()
#3 /wp-content/plugins/saperu-integration/saperu-integration.php(339): SAPE_client->__construct()
#4 /wp-content/plugins/saperu-integration/saperu-integration.php(345): Sape_API->_getSapeClient()
#5 /wp-content/plugins/saperu-integration/saperu-integration.php(510): Sape_API->_sape_return_links()
#6 /wp-includes/shortcodes.php(434): Sape_API->shortcode_sape()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(273): preg_replace_callback()
#9 /wp-content/plugins/saperu-integration/saperu-integration.php(194): do_shortcode()
#10 /wp-includes/class-wp-hook.php(324): Sape_API->render_remained_links()
#11 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /wp-includes/general-template.php(3208): do_action()
#14 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#15 /wp-includes/template.php(810): require_once('...')
#16 /wp-includes/template.php(745): load_template()
#17 /wp-includes/general-template.php(92): locate_template()
#18 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#19 /wp-includes/template-loader.php(106): include('...')
#20 /wp-blog-header.php(19): require_once('...')
#21 /index.php(17): require('...')
#22 {main}
  thrown in /wp-content/uploads/.sape/sape.php on line 365
[01-May-2025 17:09:28 UTC] PHP Fatal error:  Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /wp-content/uploads/.sape/sape.php:365
Stack trace:
#0 /wp-content/uploads/.sape/sape.php(365): flock()
#1 /wp-content/uploads/.sape/sape.php(613): SAPE_base->_read()
#2 /wp-content/uploads/.sape/sape.php(729): SAPE_base->_load_data()
#3 /wp-content/plugins/saperu-integration/saperu-integration.php(339): SAPE_client->__construct()
#4 /wp-content/plugins/saperu-integration/saperu-integration.php(345): Sape_API->_getSapeClient()
#5 /wp-content/plugins/saperu-integration/saperu-integration.php(510): Sape_API->_sape_return_links()
#6 /wp-includes/shortcodes.php(434): Sape_API->shortcode_sape()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(273): preg_replace_callback()
#9 /wp-content/plugins/saperu-integration/saperu-integration.php(194): do_shortcode()
#10 /wp-includes/class-wp-hook.php(324): Sape_API->render_remained_links()
#11 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /wp-includes/general-template.php(3208): do_action()
#14 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(666): wp_footer()
#15 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(614): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#16 /wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Widget_Types_Controller->render()
#17 /wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
#18 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#19 /wp-includes/rest-api.php(459): WP_REST_Server->serve_request()
#20 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#21 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#22 /wp-includes/plugin.php(565): WP_Hook->do_action()
#23 /wp-includes/class-wp.php(418): do_action_ref_array()
#24 /wp-includes/class-wp.php(818): WP->parse_request()
#25 /wp-includes/functions.php(1342): WP->main()
#26 /wp-blog-header.php(16): wp()
#27 /index.php(17): require('...')
#28 {main}
  thrown in /wp-content/uploads/.sape/sape.php on line 365
[01-May-2025 17:09:28 UTC] PHP Fatal error:  Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /wp-content/uploads/.sape/sape.php:365
Stack trace:
#0 /wp-content/uploads/.sape/sape.php(365): flock()
#1 /wp-content/uploads/.sape/sape.php(613): SAPE_base->_read()
#2 /wp-content/uploads/.sape/sape.php(729): SAPE_base->_load_data()
#3 /wp-content/plugins/saperu-integration/saperu-integration.php(339): SAPE_client->__construct()
#4 /wp-content/plugins/saperu-integration/saperu-integration.php(345): Sape_API->_getSapeClient()
#5 /wp-content/plugins/saperu-integration/saperu-integration.php(510): Sape_API->_sape_return_links()
#6 /wp-includes/shortcodes.php(434): Sape_API->shortcode_sape()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(273): preg_replace_callback()
#9 /wp-content/plugins/saperu-integration/saperu-integration.php(194): do_shortcode()
#10 /wp-includes/class-wp-hook.php(324): Sape_API->render_remained_links()
#11 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /wp-includes/general-template.php(3208): do_action()

(+272 more lines)
See also: All tests for this plugin