Sape.ru integration 3.4.2

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

Summary

Errors
13PHP 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.2
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=c2dcc11118
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.157 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.702 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.560 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.360 s0.293 s-0.067 s3.51 MiB3.6 MiB+ 99.34 KiB
/wp-admin/edit.php0.207 s0.194 s-0.013 s3.57 MiB3.66 MiB+ 89.81 KiB
/wp-admin/post-new.php0.776 s0.641 s-0.135 s6.06 MiB6.22 MiB+ 161.85 KiB
/wp-admin/upload.php0.574 s0.336 s-0.238 s3.52 MiB3.61 MiB+ 85.38 KiB
/wp-admin/options-writing.php0.203 s0.182 s-0.021 s3.5 MiB3.59 MiB+ 89.38 KiB
/wp-admin/media-new.php0.279 s0.382 s+0.103 s3.49 MiB3.59 MiB+ 97.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.247 s0.234 s-0.013 s3.5 MiB3.6 MiB+ 95.33 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.589 s-0.023 s6.05 MiB6.2 MiB+ 158.49 KiB
/wp-admin/options-discussion.php0.477 s0.297 s-0.180 s3.5 MiB3.59 MiB+ 85.89 KiB
/wp-admin/edit-comments.php0.202 s0.200 s-0.002 s3.52 MiB3.6 MiB+ 81.97 KiB
/0.310 s0.177 s-0.133 s3.43 MiB
Average 0.386 s0.320 s-0.066 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 404 lines

[16-Jul-2025 22:00:51 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
[16-Jul-2025 22:00:58 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
[16-Jul-2025 22:01:02 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
[16-Jul-2025 22:01:02 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()

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