Title: outdoorsdev1's Replies | WordPress.org

---

# outdoorsdev1

  [  ](https://wordpress.org/support/users/outdoorsdev1/)

 *   [Profile](https://wordpress.org/support/users/outdoorsdev1/)
 *   [Topics Started](https://wordpress.org/support/users/outdoorsdev1/topics/)
 *   [Replies Created](https://wordpress.org/support/users/outdoorsdev1/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/outdoorsdev1/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/outdoorsdev1/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/outdoorsdev1/engagements/)
 *   [Favorites](https://wordpress.org/support/users/outdoorsdev1/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 39 total)

1 [2](https://wordpress.org/support/users/outdoorsdev1/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/outdoorsdev1/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/outdoorsdev1/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin and Site Enhancements (ASE)] Request: Make expand/collapse menu item in WordPress Admin navigation sticky](https://wordpress.org/support/topic/request-make-expand-collapse-menu-item-in-wordpress-admin-navigation-sticky/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [6 months ago](https://wordpress.org/support/topic/request-make-expand-collapse-menu-item-in-wordpress-admin-navigation-sticky/#post-18782035)
 * Sure.
   I use it a lot, because I use WP for writing a lot of articles at the same
   time as switching between other technical things.
 * When i’m writing or editing articles, I like more screen space, but don’t want
   the full screen options.
 * When I’m doing admin or changing settings, I need the nav to move around.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Error sending report](https://wordpress.org/support/topic/error-sending-report/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year ago](https://wordpress.org/support/topic/error-sending-report/#post-18539553)
 *     ```wp-block-code
       ## PLAIN TEXT CONFIGURATION FILE - SANITIZED FOR SUPPORT##It not set, will use host name as serverNameserverName                httpdWorkers              2user                      [CENSORED]group                     [CENSORED]priority                  0autoRestart               1chrootPath                /enableChroot              0inMemBufSize              60MswappingDir               /tmp/lsws-rc/swapautoFix503                1gracefulRestartTimeout    300mime                      conf/mime.propertiesshowVersionNumber         0adminEmails               [CENSORED]indexFiles                index.html, index.phpdisableWebAdmin           0enableLVE                 0autoLoadHtaccess          1useIpInProxyHeader        2listener http {  address                 *:80  secure                  0  map                     default *}listener http6 {  address                 [ANY]:80  secure                  0  map                     default *}listener https {  address                 *:443  secure                  1  keyFile                 [CENSORED - SSL KEY PATH]  certFile                [CENSORED - SSL CERT PATH]  certChain               1  sslProtocol             30  map                     default *}listener https6 {  address                 [ANY]:443  secure                  1  keyFile                 [CENSORED - SSL KEY PATH]  certFile                [CENSORED - SSL CERT PATH]  certChain               1  sslProtocol             30  map                     default *}errorlog logs/error.log {  logLevel                DEBUG  debugLevel              0  rollingSize             10M  enableStderrLog         1}accesslog logs/access.log {  logReferer              1  logUserAgent            1  logFormat               %a %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"  logHeaders              5  rollingSize             10M  keepDays                30  compressArchive         0}expires  {  enableExpires           1  expiresByType           image/*=A604800,text/css=A604800,application/x-javascript=A604800,text/javascript=A604800,font/*=A604800,application/x-font-ttf=A604800}tuning  {  maxConnections          10000  maxSSLConnections       10000  connTimeout             300  maxKeepAliveReq         10000  keepAliveTimeout        5  sndBufSize              0  rcvBufSize              0  maxReqURLLen            32768  maxReqHeaderSize        65536  maxReqBodySize          2047M  maxDynRespHeaderSize    32768  maxDynRespSize          2047M  maxCachedFileSize       4096  totalInMemCacheSize     20M  maxMMapFileSize         256K  totalMMapCacheSize      40M  useSendfile             1  fileETag                28  enableGzipCompress      1  compressibleTypes       default  enableDynGzipCompress   1  gzipCompressLevel       6  gzipAutoUpdateStatic    1  gzipStaticCompressLevel 6  brStaticCompressLevel   6  gzipMaxFileSize         10M  gzipMinFileSize         300  quicEnable              1  quicShmDir              /dev/shm}fileAccessControl  {  followSymbolLink        1  checkSymbolLink         0  requiredPermissionMask  000  restrictedPermissionMask 000}perClientConnLimit  {  staticReqPerSec         0  dynReqPerSec            0  outBandwidth            0  inBandwidth             0  softLimit               10000  hardLimit               10000  gracePeriod             15  banPeriod               300}CGIRLimit  {  maxCGIInstances         20  minUID                  11  minGID                  10  priority                0  CPUSoftLimit            10  CPUHardLimit            50  memSoftLimit            1460M  memHardLimit            1470M  procSoftLimit           400  procHardLimit           450}accessDenyDir  {  dir                     /  dir                     /etc/*  dir                     /dev/*  dir                     conf/*  dir                     admin/conf/*}accessControl  {  allow                   ALL, 173.245.48.0/20T, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 141.101.64.0/18T, 108.162.192.0/18T, 190.93.240.0/20T, 188.114.96.0/20T, 197.234.240.0/22T, 198.41.128.0/17T, 162.158.0.0/15T, 104.16.0.0/13T, 104.24.0.0/14T, 172.64.0.0/13T, 131.0.72.0/22T, 2400:cb00::/32T, 2606:4700::/32T, 2803:f800::/32T, 2405:b500::/32T, 2405:8100::/32T, 2a06:98c0::/29T, 2c0f:f248::/32T}module cache {  ls_enabled              1  checkPrivateCache       1  checkPublicCache        1  maxCacheObjSize         10000000  maxStaleAge             200  qsCache                 1  reqCookieCache          1  respCookieCache         1  ignoreReqCacheCtrl      1  ignoreRespCacheCtrl     0  enableCache             0  expireInSeconds         3600  enablePrivateCache      0  privateExpireInSeconds  3600}include /etc/lsws-rc/default.d/*.confinclude /etc/lsws-rc/conf.d/*.conf
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Error sending report](https://wordpress.org/support/topic/error-sending-report/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year ago](https://wordpress.org/support/topic/error-sending-report/#post-18537972)
 * I’ve added it to httpd_config.conf under the line autoLoadHtaccess
 * The accessControl list is also in that file, under accessDenyDir
 * Bearing in mind I am using runcloud’s deployment. I followed this guide and everything
   looks correct: [https://runcloud.io/docs/real-ip-openlitespeed-behind-cloudflare](https://runcloud.io/docs/real-ip-openlitespeed-behind-cloudflare)
 * [https://imgur.com/a/yotaZ23](https://imgur.com/a/yotaZ23)
    -  This reply was modified 1 year ago by [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Reduce cron jobs from running every minute](https://wordpress.org/support/topic/reduce-cron-jobs-from-running-every-minute/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/reduce-cron-jobs-from-running-every-minute/#post-18499338)
 * Noice.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin Organizer] PHP 8.3 warnings/deprecations](https://wordpress.org/support/topic/php-8-3-warnings-deprecations/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-8-3-warnings-deprecations/#post-18314040)
 * ![](https://i0.wp.com/i.imgur.com/HiAQh6B.png?ssl=1)
 * Hope this helps 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST APIs] Can’t update widgets](https://wordpress.org/support/topic/cant-update-widgets-2/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/cant-update-widgets-2/#post-18212048)
 * Hi, is there any update to this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST APIs] Can’t update widgets](https://wordpress.org/support/topic/cant-update-widgets-2/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cant-update-widgets-2/#post-18169436)
 * Also, when deactivating the plugin and asked for feedback, the Skip button doesn’t
   skip past giving feedback and de-activate.
 * This means users HAVE to give their info when de-activating, which violates WordPress
   policies and the GDPR.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST APIs] How to remove miniOrange API Authentication Analytics header in admin pages](https://wordpress.org/support/topic/how-to-remove-miniorange-api-authentication-analytics-header-in-admin-pages/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/how-to-remove-miniorange-api-authentication-analytics-header-in-admin-pages/#post-18081390)
 * This works but I don’t want to click to remove it once every 7 days. I don’t 
   need the stats, and if I do you could let me toggle them on or off in settings.
 * Otherwise, this is essentially just an ad for possibly upgrading.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST APIs] 401 accessing REST API since 3.5/3.51](https://wordpress.org/support/topic/401-accessing-rest-api-since-3-5-3-51/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/401-accessing-rest-api-since-3-5-3-51/#post-18081388)
 * Seems to have worked now, thanks for fixing the issues 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST APIs] 401 accessing REST API since 3.5/3.51](https://wordpress.org/support/topic/401-accessing-rest-api-since-3-5-3-51/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/401-accessing-rest-api-since-3-5-3-51/#post-18067974)
 * [@abhiladdha07](https://wordpress.org/support/users/abhiladdha07/)
 * Card is an ACF endpoint for a custom post type card, which has custom fields 
   attached. Both are exposed to the API.
 * Reverting does fix the issue. Tested with the latest and previous versions of
   ACF.
 * ACF fields are stored as a subfield in post meta fields I believe. [https://www.advancedcustomfields.com/resources/wp-rest-api-integration/](https://www.advancedcustomfields.com/resources/wp-rest-api-integration/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JWT Authentication for WP REST APIs] 401 accessing REST API since 3.5/3.51](https://wordpress.org/support/topic/401-accessing-rest-api-since-3-5-3-51/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/401-accessing-rest-api-since-3-5-3-51/#post-18067418)
 *     ```wp-block-code
        # Upload the image    try:        image_response = requests.post(media_endpoint, headers=image_headers, data=image_data, verify=verify_ssl)        image_response.raise_for_status()        image_id = image_response.json()['id']        if verbose:            print(f"Image uploaded successfully for {card_info['card_title']}. Image ID: {image_id}")        # Set the uploaded image as the featured image of the post        post_update_data = {            'featured_media': image_id        }        try:            update_response = requests.post(f"{card_endpoint}/{card_info['post_id']}", headers=headers, json=post_update_data, verify=verify_ssl)            update_response.raise_for_status()            if verbose:                print(f"Image set as featured for {card_info['card_title']} with ID {image_id} for post ID {card_info['post_id']}.")        except requests.exceptions.HTTPError as http_err:            if update_response.status_code == 403:                print("Permission denied. You are not allowed to use this endpoint or the provided data is not allowed.")            elif update_response.status_code == 404:                print("Endpoint not found. Please check the URL.")            else:                print(f"HTTP error occurred while setting featured image: {http_err}")        except requests.exceptions.ConnectionError:            print("Connection error while setting featured image. Check your internet connection and WordPress URL.")        except requests.exceptions.Timeout:            print("Request timed out while setting featured image. The server might be slow or unresponsive.")        except requests.exceptions.RequestException as err:            print(f"An error occurred while setting featured image: {err}")
       ```
   
 * Some example code. This is after checking and verifying I can get tokens, and
   they are up to date.
   In this case i’m seeing the errors below: –HTTP error occurred
   while setting featured image: 401 Client Error: Unauthorized for url: [https://mysite.com/wp-json/wp/v2/card/12767](https://mysite.com/wp-json/wp/v2/card/12767)
   HTTP error occurred: 401 Client Error: Unauthorized for url: [https://mysite.com/wp-json/wp/v2/media/12768](https://mysite.com/wp-json/wp/v2/media/12768)
   which indicate we can access the site and upload images, but a 401 error is coming
   back while trying to set the featured image. i’ve checked with various other 
   test scripts and i’m able to authenticate fine.
    -  This reply was modified 1 year, 9 months ago by [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF] Update creates MASSIVE log files in uploads – Possibly site breaking](https://wordpress.org/support/topic/update-creates-massive-log-files-in-uploads-possibly-site-breaking/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/update-creates-massive-log-files-in-uploads-possibly-site-breaking/#post-17135335)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simplelightbox] Legacy](https://wordpress.org/support/topic/legacy/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/legacy/#post-17051635)
 * No, I was saying that the legacy script always loads – even if I haven’t selected
   to use the legacy version. If I force the legacy script not to load on a page/
   post, lightbox doesn’t seem to work at all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simplelightbox] Legacy](https://wordpress.org/support/topic/legacy/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/legacy/#post-17033517)
 * If I deload the legacy script, the whole plugin seems to not work. I’m on the
   latest firefox
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simplelightbox] Additional Selectors doesn’t work?](https://wordpress.org/support/topic/additional-selectors-doesnt-work/)
 *  Thread Starter [outdoorsdev1](https://wordpress.org/support/users/outdoorsdev1/)
 * (@outdoorsdev1)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/additional-selectors-doesnt-work/#post-16821480)
 * Thanks!
 * This worked for me, the immediate last version is fine.
 * Additionally as a seperate issue the simple-lightbox.legacy.min.js file is loading
   instead of the standard js script, even though I don’t have legacy selected in
   the options.

Viewing 15 replies - 1 through 15 (of 39 total)

1 [2](https://wordpress.org/support/users/outdoorsdev1/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/outdoorsdev1/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/outdoorsdev1/replies/page/2/?output_format=md)