• Resolved glampetsts

    (@glampetsts)


    When the Patheon clear cache function runs, it fails and the logs show this area linked to the plugin. Any solutions?

    [02-May-2025 17:05:07 UTC] PHP Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, array callback must have exactly two members in /code/wp-includes/rest-api/class-wp-rest-server.php:1631
    Stack trace: 0 /code/wp-includes/rest-api/class-wp-rest-server.php(1572): WP_REST_Server->get_data_for_route(‘/tribe/tickets/…’, Array, ‘help’) 1 /code/wp-includes/rest-api/class-wp-rest-server.php(1379): WP_REST_Server->get_data_for_routes(Array, ‘help’) 2 /code/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Server->get_index(Object(WP_REST_Request)) 3 /code/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/’, Array, NULL) 4 /code/wp-content/plugins/woocommerce/includes/cli/class-wc-cli-runner.php(63): WP_REST_Server->dispatch(Object(WP_REST_Request)) 5 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/class-wp-cli.php(336): WC_CLI_Runner::after_wp_load() 6 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1401): WP_CLI::do_hook(‘after_wp_load’) 7 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1294): WP_CLI\Runner->load_wordpress() 8 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() 9 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) 10 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() 11 phar:///opt/pantheon/wpcli/wp-cli-2.11.0.phar/php/boot-phar.php(20): include(‘phar:///opt/pan…’) 12 /opt/pantheon/wpcli/wp-cli-2.11.0.phar(4): include(‘phar:///opt/pan…’) 13 {main}

    thrown in /code/wp-includes/rest-api/class-wp-rest-server.php on line 1631

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @glampetsts ,

    Thank you for reaching out and bringing this to our attention.

    For me to understand and learn more about your setup, could you provide the version of the following?

    1. PHP
    2. WordPress
    3. The Events Calendar (if using)
    4. Events Calendar Pro (if using)
    5. Event Tickets
    6. Event Tickets Plus (if using)
    7. Theme and Version
    Thread Starter glampetsts

    (@glampetsts)

    Sure!

    1. PHP (8.20)
    2. WordPress (6.8.1)
    3. The Events Calendar (if using) (6.11.2.1)
    4. Events Calendar Pro (if using) (7.4.5)
    5. Event Tickets (5.21.1.1)
    6. Event Tickets Plus (if using) (6.3.0.1)
    7. Theme and Version (Oxygen 4.9.1)

    We use Pantheon for hosting.

    Plugin Support Darian

    (@d0153)

    Hi @glampetsts

    Thanks for your response.

    It seems you have an active license with us. For us to help you better and strictly follow WordPress Forum Guidelines regarding premium users, please open a Support Ticket on our Help Desk.

    You’ll hear from one of my colleagues soon!

    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems like it has been some time since we received a response from you, therefore, I will close this thread for now. If you require any further assistance,  please open a Support Ticket on our Help Desk.

    I’m getting the same issue. I’ve posted about it in a new thread.

    • This reply was modified 11 months, 1 week ago by solarian.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘REST error with Pantheon hosting’ is closed to new replies.