YARPP cause error papge
-
Hi, I’ve been using your plugin for a while. It’s great. But I cannot go to some of my pages. WordPress gave the notice “There has been a critical error on this website” and showed that your plugin is the reason. How can I fix this? I really love the plugin and don’t to find the alternative.
Here is the detailed error they sent me:
Error Details
An error of type E_ERROR was caused in line 1923 of the file /home/happybak/public_html/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Core.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /home/happybak/public_html/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Core.php:1923
Stack trace: 0 /home/happybak/public_html/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Cache_Bypass.php(131): YARPP->parse_args() 1 /home/happybak/public_html/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Core.php(1492): YARPP_Cache_Bypass->begin_yarpp_time() 2 /home/happybak/public_html/wp-content/plugins/yet-another-related-posts-plugin/classes/YARPP_Shortcode.php(73): YARPP->display_related() 3 /home/happybak/public_html/wp-includes/shortcodes.php(434): YARPP_Shortcode->render() 4 [internal function]: do_shortcode_tag() 5 /home/happybak/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() 6 /home/happybak/public_html/wp-includes/class-wp-hook.php(324): do_shortcode() 7 /home/happybak/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 8 /home/happybak/public_html/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php(632): apply_filters() 9 /home/happybak/public_html/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php(451): WP_REST_Revisions_Controller->prepare_item_for_response() 10 /home/happybak/public_html/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php(314): WP_REST_Autosaves_Controller->prepare_item_for_response() 11 /home/happybak/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Autosaves_Controller->get_items() 12 /home/happybak/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request() 13 /home/happybak/public_html/wp-includes/rest-api.php(576): WP_REST_Server->dispatch() 14 /home/happybak/public_html/wp-includes/rest-api.php(2957): rest_do_request() 15 [internal function]: rest_preload_api_request() 16 /home/happybak/public_html/wp-includes/block-editor.php(753): array_reduce() 17 /home/happybak/public_html/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload() 18 /home/happybak/public_html/wp-admin/post.php(187): require(‘/home/happybak/…’) 19 {main}thrown
The topic ‘YARPP cause error papge’ is closed to new replies.