• Hi,

    I still have the blank screen. You have offered to help, but I did not receive any notification about your reply.

    Can you please help me solve this, it is really annoying to keep rolling back, since the filters allowing to choose what plugin updates seem not to work at times.

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author shanept

    (@shanept)

    Hi retetecugust,

    I did reply to you in a separate thread, but it was a busy thread so you probably didn’t see it.

    I believe in your case that maybe WordPress is aborting the ajax call pre-ajax-hook. You do not seem to have any issues in regards to server configuration.

    Are you able to provide network logs from your browser so I can better see what’s going on?

    Thanks,
    Shane Thompson

    Thread Starter retetecugust

    (@retetecugust)

    Hi,

    This is what appears in the console of the browser.
    Hmm I don’t see how to add pictures here, so it’s going to be text.

    [Error] WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: WebSocket is closed due to suspension.
    [Error] Failed to load resource: the server responded with a status of 500 (HTTP/2.0 500) (https://retetecugust.com/wp-content/plugins/aceide/src/Ajax.php, line 0)

    Plugin Author shanept

    (@shanept)

    Is that all you see? This plugin doesn’t use web sockets, so I’m not sure why you’re getting that.

    So when you load the page, what are you seeing? Do you have the WordPress menu but no editor or file tree?

    Thread Starter retetecugust

    (@retetecugust)

    This is what appears when loading the ACE IDE, there is that error on the Ajax File that comes from the Ace Ide folders.

    I see everything in place, the WordPress Menu, the file tree, the editor. But the editor is blank, it does not load those statuses as it usually did. I can open the file tree, but when I click on a file, it does not open in the editor, the wheel keeps on turning forever.

    Plugin Author shanept

    (@shanept)

    Ahh right. That’s definitely an Ajax issue. Can you please open the network monitor then click on a file, and let me know what the monitor reports?

    Thanks

    Thread Starter retetecugust

    (@retetecugust)

    If I click on a regular script file like the aceide/src/js/load-editor.js it opens in a browser page, no problems in seeing the source.

    Thread Starter retetecugust

    (@retetecugust)

    In Resources when I open the ajax.php. It confirms the 500 Error and this is written,

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”utf-8″>
    <title>500 Internal Server Error</title>
    <meta name=”description” content=””>
    <meta name=”author” content=””>

    <style>
    body {
    background-color: #f8f8f8;
    font-family: “Helvetica Neue”, Helvetica, Arial, sans-serif;
    color: #333;
    padding-top: 20px;
    }
    div {
    display: block;
    }
    .container {
    width: 1100px;
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
    }
    .error-msg, .support-msg {
    text-align: center;
    }
    .error-msg {
    margin-bottom: 40px;
    }
    .error-msg h1 {
    font-size: 52px;
    display: block;
    margin: 0px;
    }
    .error-msg p {
    font-size: 20px;
    display: block;
    margin: 10px 0;
    }
    .support-msg p {
    font-size: 14px;
    color: #888;
    }
    </style>
    </head>

    <body>
    <div class=”container”>
    <div class=”error-msg”>
    <h1>500 Internal Server Error</h1>
    <p>An error occurred while processing this request.</p>
    </div>
    <div class=”support-msg”>
    <p>Website owner? Check your code and/or debug log. If you need assistance, contact support.</p>
    </div>
    </div>
    </body>
    </html>

    Thread Starter retetecugust

    (@retetecugust)

    It seems like it’s an error in or with the file and he can’t get by it.

    • This reply was modified 6 years, 9 months ago by retetecugust.
    Thread Starter retetecugust

    (@retetecugust)

    Hi,

    I put some breakpoints on loading resources and I see it tries to load that file and fails. It tries to do this in the load-editor.js at these lines :
    var phpMode = require(“ace/mode/php”).Mode;
    editor.getSession().setMode(new phpMode());

    //START AUTOCOMPLETE
    //create the autocomplete dropdown
    var ac = document.createElement(‘select’);

    And I see this error after it does that function :

    phpMode: function(e)

    arguments: TypeError: ‘arguments’, ‘callee’, and ‘caller’ cannot be accessed in this context.

    caller: TypeError: ‘arguments’, ‘callee’, and ‘caller’ cannot be accessed in this context.

    • This reply was modified 6 years, 9 months ago by retetecugust.
    Thread Starter retetecugust

    (@retetecugust)

    The file Ajax.php is there in the file tree, I can see it. Maybe it does not like its name ??

    Plugin Author shanept

    (@shanept)

    Hmm that’s bizarre…

    Any chance you’re able to see debug logs on your server?

    Thread Starter retetecugust

    (@retetecugust)

    Unfortunately no. I tried, but the debug is not set to true, and I do not have access to the config file to set it.

    Thread Starter retetecugust

    (@retetecugust)

    Hi,

    I asked them to look into the logs, this is the error :

    PHP Fatal error: require(): Failed opening required ‘/wp-admin/admin-ajax.php’ (include_path=’/:.’) in /wpcom-19758243/wp-content/plugins/aceide/src/Ajax.php on line 23

    Hi
    @retetecugust
    I had this same problem after upgrading to 2.6.1, I had a copy of 2.5.5 and rolled it back, it now works

    Its probably best if you have a copy of 2.5.5 and have been unable to use it with the newer version that you swap it back.

    Thread Starter retetecugust

    (@retetecugust)

    @thatsinsurance

    Thank you, yes I know. I have been doing just that, but he has to fix this issue once and for all.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Plugin not working after update to 6.0’ is closed to new replies.