ldemorest
Forum Replies Created
-
I encountered the same error with one of my own. I use Elementor plugin and the php insert plugin conflicts with Elementor somewhere. My pages are hit with a critical error on the public side where the shortcode is inserted. Not sure if you use that plugin too, but deactivating the php insert also solved some other issues I had such as getting the 500 internal server error when updating a page in the Elementor editor screen. I saw another thread with a person having issues with Elementor so wondering if it’s one you have installed?
In order to get what I need, now I have to figure out how to call my php file that pulls certain user field data from server on the signed in user and spits out a URL strand specific to that user. I did not create the php code so I do not know how to make head’s from tails with most of it… I just know what it needs to do. I’m not familiar with jguery, javascript, and ajax and it’s been hard trying to figure out how to code it all even with all the resources out there to Google.
This PHP insert plugin is a one of a kind for what I need, with one other similar plugin out there that I could find. By having this plugin save the php file, the shortcode could then be placed in an tag and open it in a new wiwndow without needing to know any other coding. It allowed us to passthrough our users to another website they had an account in and to automatically be signed in when clicking the link from our site. They both break my site now and just not sure where to pinpoint what different updates changed it. I just hope it’s something this plugins developer will look into.
So the only thing that is different between the code above, and one of my other pages are the rel=”noopener noreferrer” that wordpress is automatically putting in and keeping in no matter how many times I try to delete it. Only a few pages do not have it because of a different plugin, but the redirect works on that single page. Looked into how to remove the noopener and came across this thread that gave me a great PHP code to put into functions. https://www.buildersociety.com/threads/how-to-remove-noopener-noreferrer.4242/
This not so smart “security” feature that wordpress pushed out made it so the website we were directing to did not know where the user came from. Some websites said wordpress had fixed this, but not true in our case for what we wanted to accomplish with the redirect PHP code.