Flankerator
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Everywhere] Plugin AbandonedXYZ PHP Code I have been using since I dumped PHP Everywhere. Works great.
Forum: Plugins
In reply to: [PHP Everywhere] the plugin is creating a lot of deprication errorsThis plugin has a vulnerability and the author stopped supporting it a while ago.
1 – Back up all your PHP Everywhere snippets
2 – uninstall PHP everywhere
3 – install XWZ PHP Code plugin
4 – create your snippets from your backups
5 – update PHP Everywhere shortcodes with the new plugin shortcodes
It’s a necessary PITA.Forum: Plugins
In reply to: [PHP Everywhere] Moving to the new versionHi, I also would like to know.
I scanned all my database, no trace of my PHP code.
What’s the name of the table your plugin used to store the code in old versions?Forum: Plugins
In reply to: [PHP Everywhere] php everywhere is not working with photoway themeHey, it works fine on my site and am on the latest WP version.
You may want to run a bit of debugging.
WP debug is off by default, so you need to put your site on maintenance mode first then enable WP-debug in your wp-config file. Make sure you have these:// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings on the webpage itself so people browsing do not see those errors define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
See what errors are being generated in /wp-config/debug.log and go from there.
Another alternative is to check your browser console for any errors when you generate the faulty page or post.
Even another way is to deactivate your theme and plugins except php-everywhere then reactivate one at a time to see which one breaks php_everywhere. Once identified, you address the culprit, maybe needs an update or maybe it runs deprecated functions or similar.
Good luck.
- This reply was modified 2 years, 10 months ago by Flankerator.
- This reply was modified 2 years, 10 months ago by Flankerator.
- This reply was modified 2 years, 10 months ago by Flankerator.
- This reply was modified 2 years, 10 months ago by Flankerator.
- This reply was modified 2 years, 10 months ago by Flankerator.
- This reply was modified 2 years, 10 months ago by Flankerator.
Forum: Plugins
In reply to: [PHP Everywhere] Issues with Multiple InstancesI suspect Gutenberg editor.
Try switching back to classic editor.I am using “Disable Gutenberg plugin”.
Forum: Plugins
In reply to: [PHP Everywhere] Issues with Multiple InstancesWould be better if you shared your code.
When did you get the error? was it working before?A few possible pointers:
Check php 7.4 changelog and compare with your code. Maybe a legacy command is the culprit.
Check the console and see if there are any errors in there.
Try debugging by simplifying and running your code one chunk at a time and see at what stage it throws an error.
Forum: Plugins
In reply to: [PHP Everywhere] Issues with Multiple InstancesThis goes into the php everywhere code box:
<?php
if($instance==”1″)
{…}if($instance==”2″)
{…}
?>This goes into the page’s html:
[php_everywhere instance=1]
[php_everywhere instance=2]Works for me like that.
Not sure about using “else”
Make sure you close php tag.Forum: Reviews
In reply to: [PHP Everywhere] Critical ErrorThanks Alexander! Please keep up the good work.
Forum: Reviews
In reply to: [PHP Everywhere] Critical ErrorWorking fine here and is used extensively on my site.
What kind of error are you getting? Did you check the console? do you have latest version of this plugin?
Forum: Fixing WordPress
In reply to: Hacked recently, site url changed in dbGood day,
I have just run into exactly the same issue and having to change url back to normal manually every time. Have you managed to locate the source of the hack?
Many thanks,
NaimForum: Plugins
In reply to: [PHP Everywhere] drop down menu php optionsI wrongfully assumed that only php code was allowed by this plugin. It actually allows html too. So you can mix both as needed. What a facepalm. Sorry.
Forum: Plugins
In reply to: [PHP Everywhere] php7Okk, it appears a lot of php extentions have been removed in php7 and replaced with new ones. So need to update my code.
Thanks
Forum: Plugins
In reply to: [PHP Everywhere] Shared variablesIt worked, thanks Alex!
the UI box is tiny to edit long code but i could copy paste back and forth between wp and a notepad.
Thanks
Naim- This reply was modified 5 years, 9 months ago by Flankerator.
Forum: Plugins
In reply to: [Exec-PHP] exec-php to work in php 7 needs this…@bobjgarrett Can’t thank you enough.
Hi Jeremy
Thanks for your reply.
Here is the url: https://sa-sim.com/
I can understand if I see this error every now and then but the odd thing is that a lot of users hit it and I’m wondering how all of them could be entering an invalid email.
- This reply was modified 7 years, 8 months ago by Flankerator.