danearnold
Forum Replies Created
-
Forum: Reviews
In reply to: [Search Regex] BrokeAgreed. Broken with php 8.0/8.1.
Best search/replace alternative? Or perhaps that is inappropriate here. 🙂
Thanks. You had me going. You may delete your response, and this comment if you like. I have faith in Imagely to figure this out.
Oh, so they login, click on your link, and get a 404 even though they are logged in? If so, that is totally different than what I experienced. Good luck.
It was a natural work-around for me. Please help me understand your use case – how/why does someone access your protected page to get the 404? Are they entering the link manually into their browser, or clicking on a link, or what?
I decided to leave the “hide” box checked, and find the source of the issue. In my case, I accidentally had a public page with mixed content, the private portion of which linked to my private page. I noticed it giving a 404 in my dead link scan after the last UM release. Fix was simple enough: Hide the private content on the public page, including the links, by wrapping them with Shortcode blocks — “[um_loggedin show_lock=yes]” and “[/um_loggedin]”.
My private page still gets a 404 if you try it when not logged in, but nothing on my site points to it, so the public would have to know the url, and I’m fine with that, and so is my dead link checker.
I’m not sure I understand the issue completely, but if I do, the UM user interface could now be changed so the “What happens when users without access tries to view the content?” disappears when the “hide” box is checked – since it is ignored when checked.
Fix works great. Thanks much.
That is fine, but for the record, I’m still waiting for the fix to be released.
Regards,
Thanks. Sorry, it is not obvious to me how to apply/test this fix.
video clip: https://www.arnoldworld.net/wp.mp4
Because I have added more content, the issue presents itself a little differently. But it is still there.
My site is an ancestry/genealogy hobby site that shows birth, death, and marriage announcements, along with site news, and (eventually) other things. Anyone can see information about deceased persons, but you must be logged in to see posts pertaining to live individuals.
Steps to reproduce.
1. Go to https://www.arnoldworld.net/posts/. (Do not login.)
2. You will see 7 posts. Should be 10, but there are 3 restricted birth announcements pertaining to living individuals.
3. Click to go to next page.
4. You will see 1 post about site news. 9 posts are hidden because they are about living individuals.
5. Click to go to the next page.
6. You will see a 404. I’m assuming that internally, it built a page of 10 posts but all were restricted so it shows the 404.I’ve got a video but it will take some time for me to upload it from my phone and make it available to you.
I’ve stopped adding content for now, so the above steps should reproduce the issue as long as you are on the case. If you want, you can easily register an account to see what a logged in person sees. I could give you an account but I hesitate to share the credentials here.
Thanks.
Or … move my site to professional hosting, which was probably eventually going to happen anyway … and see the problem go away.
Thanks.
Update: From the WordPress Constants section of my Site Health Info:
WP_CONTENT_DIR
/volume1/web/dsdarn/wp-contentand adding the following to wp-config.php gives me a constant already defined message:
define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content’ );
define( ‘WP_CONTENT_URL’, ‘http://dsdarn.com/wp-content’ );So I’m assuming its from the line in wp-load.php.
But is the WP_CONTENT_DIR constant ok to be defined in relation to the file system as it is? I assume so, or a lot more things would be broken?
Is it supposed to be in my wp-config.php? It is not. If so, what would be the default/normal syntax?
I do have
define( ‘WP_CONTENT_DIR’, ABSPATH . ‘wp-content’ );
in my wp-load.phpThanks
An update to earlier when I said “Now I do have a kadence_blocks_library folder in my wp-content folder”. I now believe I was looking in the staging folder by mistake. I have no kadence_blocks_library in prod. Sorry.
Installed without issue and activated.
– File Integrity: All files passed the check. Everything seems to be ok!
– Mail Check: Passed
– Plugin Compatibility: Looks goodBelow are a few of the values from the info section. Not sure if anything will jump out.
Thanks again for your time.
Info: File System Permissions: All Writeable
Info: Database Values
Extension mysqli Server version 10.3.24-MariaDB Client version mysqlnd 7.4.9 Database user arnoldworld Database host 127.0.0.1:3307 Database name arnoldworld Database prefix aw_Info: Server Values:
Server architecture Linux 4.4.59+ x86_64 Website server user RyzenDan (1032) Web server Apache/2.4.43 (Unix) PHP version 7.4.9 (Supports 64bit values) PHP SAPI fpm-fcgi PHP max input variables 1000 PHP time limit 240 PHP memory limit 256M Max input time 60 Upload max filesize 600M PHP post max size 1024M cURL version 7.54.0 OpenSSL/1.0.2u Is SUHOSIN installed? No Is the Imagick library available? Yes Server headers server: nginx date: Thu, 27 May 2021 23:16:04 GMT content-type: text/html; charset=UTF-8 content-length: 23446 expires: Wed, 11 Jan 1984 05:00:00 GMT cache-control: no-cache, must-revalidate, max-age=0 x-ua-compatible: IE=edge link: <https://dsdarn.com/wp-json/>; rel="https://api.w.org/", <https://dsdarn.com/wp-json/wp/v2/pages/44>; rel="alternate"; type="application/json", <https://dsdarn.com/>; rel=shortlink vary: Accept-Encoding content-encoding: gzip .htaccess rules Your .htaccess file contains only core WordPress features.