Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter fr3ino

    (@fr3ino)

    @eskapism it worked briefly, but after a while the issue appeared again. Also tested with 5.2.0 and WordPress 6.7, the issue still persists. Because it worked for a short while I am suspecting that the issue could be if items appear in the log which have no translations or corrupted translation references.

    Here is the log:

    [19-Nov-2024 13:49:56 UTC] PHP Fatal error: Uncaught Error: Call to a member function filter_translation_status() on null in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php:228
    Stack trace:
    #0 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders-hooks.php(87): WPML_TM_Page_Builders->link_to_translation_filter('...', 31, '...', '...')
    #1 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): WPML_TM_Page_Builders_Hooks->link_to_translation_filter('...', 31, '...', '...')
    #2 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('...', Array)
    #3 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(149): apply_filters('...', '...', 31, '...', '...')
    #4 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): WPML_URL_Filters->get_edit_post_link('...', 31, '...')
    #5 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('...', Array)
    #6 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/link-template.php(1499): apply_filters('...', '...', 31, '...')
    #7 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/loggers/class-post-logger.php(1067): get_edit_post_link(Object(WP_Post))
    #8 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-simple-history.php(682): Simple_History\Loggers\Post_Logger->get_log_row_plain_text_output(Object(stdClass))
    #9 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php(697): Simple_History\Simple_History->get_log_row_plain_text_output(Object(stdClass))
    #10 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php(626): Simple_History\WP_REST_Events_Controller->prepare_item_for_response(Object(stdClass), Object(WP_REST_Request))
    #11 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api/class-wp-rest-server.php(1230): Simple_History\WP_REST_Events_Controller->get_items(Object(WP_REST_Request))
    #12 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '...', Array, NULL)
    #13 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #14 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api.php(420): WP_REST_Server->serve_request('...')
    #15 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
    #16 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #17 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #18 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp.php(418): do_action_ref_array('...', Array)
    #19 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp.php(813): WP->parse_request('')
    #20 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/functions.php(1336): WP->main('')
    #21 /data/sites/web/b31q9sy1myrdbxio/www/wp-blog-header.php(16): wp()
    #22 /data/sites/web/b31q9sy1myrdbxio/www/index.php(17): require('...')
    #23 {main}
    thrown in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php on line 228

    Thread Starter fr3ino

    (@fr3ino)

    Version 5.1.0 works now, thank you!

    Thread Starter fr3ino

    (@fr3ino)

    @eskapism thanks for your effort, unfortunately it still doesn’t work:

    [23-Oct-2024 13:04:30 UTC] PHP Fatal error: Uncaught Error: Call to a member function filter_translation_status() on null in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php:228
    Stack trace:
    #0 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders-hooks.php(87): WPML_TM_Page_Builders->link_to_translation_filter('...', 7170, '...', '...')
    #1 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): WPML_TM_Page_Builders_Hooks->link_to_translation_filter('...', 7170, '...', '...')
    #2 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('...', Array)
    #3 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(149): apply_filters('...', '...', 7170, '...', '...')
    #4 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): WPML_URL_Filters->get_edit_post_link('...', 7170, '...')
    #5 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('...', Array)
    #6 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/link-template.php(1499): apply_filters('...', '...', 7170, '...')
    #7 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/loggers/class-post-logger.php(1067): get_edit_post_link(Object(WP_Post))
    #8 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-simple-history.php(682): Simple_History\Loggers\Post_Logger->get_log_row_plain_text_output(Object(stdClass))
    #9 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php(697): Simple_History\Simple_History->get_log_row_plain_text_output(Object(stdClass))
    #10 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php(626): Simple_History\WP_REST_Events_Controller->prepare_item_for_response(Object(stdClass), Object(WP_REST_Request))
    #11 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api/class-wp-rest-server.php(1230): Simple_History\WP_REST_Events_Controller->get_items(Object(WP_REST_Request))
    #12 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '...', Array, NULL)
    #13 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #14 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/rest-api.php(420): WP_REST_Server->serve_request('...')
    #15 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
    #16 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #17 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #18 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp.php(418): do_action_ref_array('...', Array)
    #19 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp.php(813): WP->parse_request('')
    #20 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/functions.php(1336): WP->main('')
    #21 /data/sites/web/b31q9sy1myrdbxio/www/wp-blog-header.php(16): wp()
    #22 /data/sites/web/b31q9sy1myrdbxio/www/index.php(17): require('...')
    #23 {main}
    thrown in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php on line 228

    Let me know if you need more info.

    • This reply was modified 1 month ago by fr3ino.
    Thread Starter fr3ino

    (@fr3ino)

    @eskapism Unfortunately still throws a 500, but now with a different error log:

    [Mon Oct 21 10:01:39.398209 2024] [error] [pid 4125469] mod_proxy_fcgi.c(902): [client 178.115.40.246:0] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Warning: Undefined array key "_user_id" in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/simple-history/inc/class-wp-rest-events-controller.php on line 743; PHP message: PHP Fatal error: Uncaught Error: Call to a member function filter_translation_status() on null in /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php:228\nStack trace:\n#0 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders-hooks.php(87): WPML_TM_Page_Builders->link_to_translation_filter('...', 13306, '...', '...')\n#1 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/class-wp-hook.php(324): WPML_TM_Page_Builders_Hooks->link_to_translation_filter('...', 13306, '...', '...')\n#2 /data/sites/web/b31q9sy1myrdbxio/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('...', Array)\n#3 /data/sites/web/b31q9sy1myrdbxio/www/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(149): apply_filters('...', '...', 13306, '...', '...')\n#4 /data/sites/web/b31q9sy...'
Viewing 4 replies - 1 through 4 (of 4 total)