• Resolved SEALsystems

    (@sealsystems)


    When trying to add an Excluded File folder to the list, I am able to select it in the File Selector on the right and it does show in the list on the left. But when I click save, I get the error “Ignore File Types should be array.” in red and the path is not saved. [Solid Security Basic Version 9.3.3, WordPress 6.6.2]

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @sealsystems,

    If not already add the line below to the wp-config.php file:

    define('ITSEC_DEBUG', true);

    This should add an extra Debug menu item under the Security menu option.

    Then navigate to Security > Debug.

    Under the Settings section select file-change and then click on the Load button.

    Please share the file change settings displayed.

    +++ To prevent any confusion, I’m not SolidWP +++

    Thread Starter SEALsystems

    (@sealsystems)

    {
    "file_list": [
    "/wp-content/uploads/ithemes-security/backups"
    ],
    "types": {
    "0": ".log",
    "1": ".mo",
    "2": ".po",
    "3": ".bmp",
    "4": ".gif",
    "5": ".ico",
    "6": ".jpe",
    "7": ".jpeg",
    "8": ".jpg",
    "9": ".png",
    "10": ".psd",
    "11": ".raw",
    "12": ".svg",
    "13": ".tif",
    "14": ".tiff",
    "15": ".aif",
    "16": ".flac",
    "17": ".m4a",
    "18": ".mp3",
    "19": ".oga",
    "20": ".ogg",
    "22": ".ra",
    "23": ".wav",
    "24": ".wma",
    "25": ".asf",
    "26": ".avi",
    "27": ".mkv",
    "28": ".mov",
    "29": ".mp4",
    "30": ".mpe",
    "31": ".mpeg",
    "32": ".mpg",
    "33": ".ogv",
    "34": ".qt",
    "35": ".rm",
    "36": ".vob",
    "37": ".webm",
    "38": ".wm",
    "39": ".wmv"
    },
    "expected_hashes": {
    "/Volumes/ServerData/OBFUSCATED/wp-config.php": "d620406cd69470023d11229",
    "/Volumes/ServerData/OBFUSCATED/.htaccess": "98bb09e27d81aca338f9fdf"
    },
    "last_scan": 318945,
    "notify_admin": true,
    "show_warning": false,
    "split": false,
    "method": "exclude",
    "last_run": 1527514502,
    "last_chunk": false,
    "email": true,
    "compare_file_hashes": true
    }
    • This reply was modified 2 weeks, 3 days ago by SEALsystems.

    Hi @sealsystems,

    Ok, it looks like the File Change settings have somehow not been upgraded in the past when updating the plugin. I have seen this several times in the past, but never been able to figure out the exact cause. The good news is that we can manually correct the File Change settings. The Debug page interface actually allows you to manually edit the settings and then save them. Simply follow my previous instructions and then manually edit the File Change settings to look exactly as can be seen below:

    {
    "file_list": [
    "/wp-content/uploads/ithemes-security/backups"
    ],
    "types": [
    ".log",
    ".mo",
    ".po",
    ".bmp",
    ".gif",
    ".ico",
    ".jpe",
    ".jpeg",
    ".jpg",
    ".png",
    ".psd",
    ".raw",
    ".svg",
    ".tif",
    ".tiff",
    ".aif",
    ".flac",
    ".m4a",
    ".mp3",
    ".oga",
    ".ogg",
    ".ra",
    ".wav",
    ".wma",
    ".asf",
    ".avi",
    ".mkv",
    ".mov",
    ".mp4",
    ".mpe",
    ".mpeg",
    ".mpg",
    ".ogv",
    ".qt",
    ".rm",
    ".vob",
    ".webm",
    ".wm",
    ".wmv"
    ],
    "expected_hashes": {
    "/Volumes/ServerData/OBFUSCATED/wp-config.php": "d620406cd69470023d11229",
    "/Volumes/ServerData/OBFUSCATED/.htaccess": "98bb09e27d81aca338f9fdf"
    },
    "last_scan": 318945,
    "compare_file_hashes": true
    }

    Don’t forget to replace OBFUSCATED with the correct path.

    Finally click on the Save button (Right next to the Load button).

    Once the File Change settings have been corrected you should be able to make and save any changes through the plugin UI ??

    Hi @sealsystems,

    Note I have changed (amongst other things) the curly braces ({}) into square brackets ([]) for the “types” entry. Which makes a big difference ??

    I thought I better mention that.

    As a side note: What PHP version are you using (8.3.11)?

    • This reply was modified 2 weeks, 2 days ago by nlpro.
    Thread Starter SEALsystems

    (@sealsystems)

    Like magic, it works. Thanks for the help. Much appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.