close

Slick­Stack

July 2024 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Broken REST API

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #25328 Reply
    Anna
    Guest

    Hi,

    After migrating to Slickstack we are experiencing broken rest API access, any solution for this?

    We are using a service that pushes our Print on demand products from their dashboard to our website, now after migrating to SS, the integration is partially broken, images and attributes are not getting transferred, only an out of stock product is getting generated.

    Help is much appreciated.

    Thanks.

    #25331 Reply
    Adam
    Guest

    OP are you sure it’s not using XML-RPC?

    #25332 Reply
    Richard
    Guest

    checking under WP Admin >> SlickStack >> Error Log is always a good start, you can tell us if you see any errors there

    #25333 Reply
    Mason
    Guest

    Also possible their software is not properly coded see the past issue:

    https://github.com/littlebizzy/slickstack/issues/116

    The Nginx settings are correct and don’t need to be modified in any way. WordPress understood these security standards and added a solution to their core API core.

    To execute any of the above methods:

    You will be sending a POST with form data
    the First parameter should be the ?_method=PUT
    Following by whatever you want to update (depends of course on the endpoint body requirements)

    #25352 Reply
    Steven
    Guest

    Yes, XML-RPC is not used. Further the error log mostly contains errors from blacklist MU plugin.

    And pardon me for so late in responding.

    #25353 Reply
    Janet
    Guest

    This is the error log:

    [20-Jun-2024 14:38:17 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:38:17 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:38:17 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:38:17 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:38:14 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:38:14 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:38:14 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:38:14 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:36:47 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:36:47 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:36:47 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:36:47 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:36:32 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:36:32 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:36:32 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:36:32 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:35:44 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:35:44 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:35:44 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:35:44 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:35:31 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:35:31 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:35:31 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:35:31 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:35:22 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:35:22 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:35:22 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:35:22 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:35:04 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:35:04 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:35:04 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    [20-Jun-2024 14:35:04 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50
    [20-Jun-2024 14:35:01 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/plugin-blacklist/helpers/singleton.php on line 75
    [20-Jun-2024 14:35:01 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/singleton.php on line 76
    [20-Jun-2024 14:35:01 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/force-https/helpers/boot.php on line 50
    0-Jun-2024 14:35:01 UTC] PHP Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/wp-content/mu-plugins/clear-caches/helpers/boot.php on line 50

    #25354 Reply
    Stephen
    Guest

    OP please see the GitHub issue and provide that to them. Most likely their code has some issues and needs to be improved…

    #25355 Reply
    Jesse
    Guest
Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Broken REST API

Thanks to our generous sponsors for their support!