macsuibhne
Forum Replies Created
-
Forum: Plugins
In reply to: [Auto Submenu] Plugin moves page to the bottom of submenuThis is happening again in version 1.0.0
Forum: Reviews
In reply to: [EU/UK VAT Validation Manager for WooCommerce] New checkout layoutMy most recent attempt at using it was on a new WordPress installation with Woocommerce and Classic Editor plugins installed.
Forum: Plugins
In reply to: [Auto Submenu] Plugin moves page to the bottom of submenuHere’s a fresh WordPress install with nothing on it except your plugin, 5 pages and OceanWp theme. The order of the pages has not been adjusted.
- This reply was modified 11 months, 3 weeks ago by macsuibhne.
Forum: Themes and Templates
In reply to: [OceanWP] The website does not work properly after changing PHPI switched to PHP 8.0 and the site immediatly breaks.
There are no active plugins.
OceanWP is the only change to the base WordPress installation. Not a child theme.
Doesn’t happen with any of the default themes.[15-Nov-2023 19:29:37 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2621440 bytes) in /home/urnplates/public_html/wp-admin/includes/template.php on line 1316
[15-Nov-2023 19:30:47 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2621440 bytes) in /home/urnplates/public_html/wp-admin/includes/template.php on line 1270
[15-Nov-2023 19:30:49 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2621440 bytes) in /home/urnplates/public_html/wp-admin/includes/template.php on line 1270
The line at 1270 is:
$filename = preg_replace( ‘|^/([^/]/).$|’, ‘\1’, $filename );The entire section of code is:
/**
- Internal helper function to find the plugin from a meta box callback.
* - @since 5.0.0
* - @access private
* - @param callable $callback The callback function to check.
- @return array|null The plugin that the callback belongs to, or null if it doesn’t belong to a plugin.
*/
function _get_plugin_from_callback( $callback ) {
try {
if ( is_array( $callback ) ) {
$reflection = new ReflectionMethod( $callback[0], $callback[1] );
} elseif ( is_string( $callback ) && str_contains( $callback, ‘::’ ) ) {
$reflection = new ReflectionMethod( $callback );
} else {
$reflection = new ReflectionFunction( $callback );
}
} catch ( ReflectionException $exception ) {
// We could not properly reflect on the callable, so we abort here.
return null;
} // Don’t show an error if it’s an internal PHP function.
if ( ! $reflection->isInternal() ) {// Only show errors if the meta box was registered by a plugin. $filename = wp_normalize_path( $reflection->getFileName() ); $plugin_dir = wp_normalize_path( WP_PLUGIN_DIR ); if ( str_starts_with( $filename, $plugin_dir ) ) { $filename = str_replace( $plugin_dir, '', $filename ); $filename = preg_replace( '|^/([^/]*/).*$|', '\\1', $filename );$plugins = get_plugins(); foreach ( $plugins as $name => $plugin ) { if ( str_starts_with( $name, $filename ) ) { return $plugin; } }}
} return null;
}
Forum: Themes and Templates
In reply to: [OceanWP] The website does not work properly after changing PHPSame thing happened to me. I was setting up a brand new site on PHP 8.0, everything was working fine until I installed OceanWP theme. As soon as I did I got an error:
“There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.”
Doesn’t work with 8.2, 8.1 or 8.0. As soon as I switch to 7.4 everything works fine.
I’ve tried other themes and they had no problem. I also don’t have any plugins activated. The only change from the base installation of WordPress has been OceanWP.
Don’t think it’s a NextGEN Gallery problem.
If it was me I’d log into the hosting and manually upload a fresh copy of WordPress. Basically, download WordPress, extract it and upload the wp-admin folder and the wp-includes folder, overwriting the existing ones.
Detailed instructions are here:
DO NOT DELETE wp-content folder and the wp-config.php file. Also, don’t delete .htaccess if you have made changes to it.
Another thing to try is to disable all your plugins. You can also do that when logged into your hosting. Just temporarily rename the plugins folder and try to access your site. If the site works you know a plugin is causing it and it just a matter of finding out which one.
There’s also the possibility that this error is caused by the PHP version your hosting is using. Has PHP been updated recently? Can you try a different version?
Good luck.
- This reply was modified 2 years, 8 months ago by macsuibhne.
I’m on your “Free” plan. When I log in to https://weglot.com/ it gives me a warning that my 10 day trial period has ended. It also asked me to upgrade. When I do that the only option is to pay €99.
Can you tell me where the free plan is?
@remyb92 You do NOT have a free plan. What you have is a 10 day free trial. You really need to stop spreading misinformation. In fact, you should go back through all the posts where you’ve posted this lie and correct them.
- This reply was modified 3 years, 10 months ago by macsuibhne.
Everything is up to date. NextGen Gallery is version 3.5.5.
I’m using ‘Simplelightbox’, but the other don’t work either.
Hi. I’ve tried it with firewall Learning Mode switched on but the results were the same.
I’ve got a bit further with this. The site also has the WordFence Plugin activated. Having tested with all other plugins deactivated, this problem occurs when both WordFence and Shield are active at the same time. Deactivate either of them and the problem goes away.
Also, this isn’t a recent issue. It has been happening for about a month.
Forum: Plugins
In reply to: [Contact Form 7] Headers in form emailI’m getting the exact same thing. Also, when the email is received, even though the sender’s email address is listed in the email as the reply to, when you actually attempt to reply, the address it’s being sent to changes from the sender’s email to [email protected]
In my case it seem to have something to do with the Shield Security plugin. When I deactivate this plugin the issue goes away and emails are received as normal.
Any suggestions?
Forum: Developing with WordPress
In reply to: Prevent videos from being uploadedHi Steve. It looks like setting a priority did the trick.
Thanks for your help.
Forum: Developing with WordPress
In reply to: Prevent videos from being uploadedThat worked. It showed hello 123 on the site.
Forum: Developing with WordPress
In reply to: Prevent videos from being uploadedHi Steve,
This is exactly the piece of code that I had already tried. I put it in the functions.php file of my child theme, replaced pdf with mp4, but when I uploaded an mp4 file the video was added to the media library as normal.