• Resolved julesuz

    (@julesuz)


    This is my error..and there are many others depending on the page I try to access:

    DataTables warning: table id=role-list – Ajax error. For more information about this error, please see https://datatables.net/tn/7

    When I disable the AAM plugin, all is well again. I tried uninstalling and installing the version you gave in the last thread about Ajax error.

    This website is in development, and unfortunlatey I can’t add a user for access because of this issue.

    Any suggestion for a fix?

    Thank you!
    Jules

    • This topic was modified 7 years ago by julesuz.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter julesuz

    (@julesuz)

    I should also mention, the user functionality is broken as well. I add a new user, and it seems to take, but doesn’t show in the list of users. If I try to add the same user again, it gives me an error that there is already a user with that username..

    So, this is not good at all. :/

    Thanks again,
    Jules

    • This reply was modified 7 years ago by julesuz.
    Plugin Author AAM Plugin

    (@vasyltech)

    Hi @julesuz,

    Thank you for the feedback. So two things:

    – The “DataTables warning” is a clear indicator that you have some sort of PHP error on the backend that breaks AJAX calls. Check your PHP error log to find out more details. Also make sure that your production side is not running with WordPress DEBUG mode enabled;
    – My best guess about hidden users is that your user account does not have all user level capabilities checked. Make sure that your user and your role have all level_X capabilities checked. For more info check this article https://aamplugin.com/help/wordpress-users-and-roles-filter

    Please keep me updated.

    Regards,
    Vasyl

    Thread Starter julesuz

    (@julesuz)

    Hey @vasyltech,

    Thank you for your response.
    – I believe parts of my theme run with ajax, and like I said, when I disable this plugin, all is well again. I am the only developer/admin on working on this site, and have not used debug mode. Is it possible that AAM will not work with Avada theme, and/or buddypress?
    – I cannot access capabilities, and I am the only administrator for this site. I haven’t done anything with AAM yet, except install and activate. I am attaching 2 errors: 1. When I first opened AAM (this happens all over the site..even when I went to edit/grab the url for the images below), and 2. When I go to “Capabilities” menu..just keeps loading.

    error1

    error1

    What do you suggest? :/

    Thanks again!
    Jules

    • This reply was modified 7 years ago by julesuz.
    Thread Starter julesuz

    (@julesuz)

    @vasyltech, I hope you will be able to help me with this? I’d really like to use Advanced Access Manager.

    Thank you,
    Jules

    Plugin Author AAM Plugin

    (@vasyltech)

    Hi @julesuz,

    It is hard to tell what exactly breaks AAM from the attached screenshots but this is not related to AAM itself. You just have to deactivate plugin or theme that causes conflict.

    Keep me updated.

    Regards,
    Vasyl

    We intermittently received the same error but based on your suggestion @vasyltech, it seems as if you are recommending that the solution is to deactivate the plugin or theme that causes the conflict. Isn’t the plugin that is causing the conflict AAM?

    Perhaps the recent update solved this error?

    I am also getting this error. The following warning is in the error log:

    mkdir(): No such file or directory on line 348 in file /home/user/public_html/wp-content/plugins/advanced-access-manager/Application/Extension/Repository.php

    I think this may be related?

    Are you getting the error every time or intermittently? My client saw it but I haven’t been able to replicate it so I wonder if the most recent update resolved the error…

    Every time. Although strangely this only happens on the staging version of the site. On the production version (from which the staging was copied) the error is not thrown.

    Plugin Author AAM Plugin

    (@vasyltech)

    Hi guys,

    Thank you for the update. @jhob it is odd that you are getting this error, as I’m explicitly suppressing it in the code (more here https://php.net/manual/en/language.operators.errorcontrol.php). My only guess is that you have a custom error handling mechanism that still printing errors to the buffer.

    I would strongly encourage to turn off error printings to the buffer with PHP display_errors option or disable WordPress Debug Mode if it is enabled.

    So the root of the problem is that AAM is trying to create a aam/extensions directory inside wp-content folder and it fails for various reasons (permissions, file storage limit etc). This folder is important to AAM as all installed extensions go to this folder.

    You can try to create this folder manually and make sure that PHP executable can write inside it.

    Keep me updated.

    Regards,
    Vasyl

    I manually created the directory as you suggested and the error has now gone away. I was viewing the error through a plugin called ‘BlackBox’ which shows errors/SQL queries etc – useful for debugging.

    Unfortunately though the original Ajax error still remains. I have tried uninstalling and reinstalling the plugin, and reimporting settings, but that didn’t make any difference.

    Here’s a GIF showing the AAM page loading and the JS error alerts being shown: https://bit.ly/2HdA8P1

    Thanks,

    John

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Ajax Error (different from last discussion)’ is closed to new replies.