hj
Forum Replies Created
-
OK, no worries, and thanks for the link.
NinjaFirewall should work in “WordPress WAF” mode, as long as you select this option immediately during the installation process, because if you select “Full WAF” first, the installer will create a php.ini which will cause PHP to throw all those errors.
Ahh!….which is exactly what I did! Maybe starting from square one and only selecting the WordPress WAF will do the trick. Something to try.
I wonder why the installer creating a php.ini causes PHP to throw a wobbler?
Searching for “Warning: array_merge(): Argument #2 is not an array in wp-includes/load.php on line 63” on Google returns 11,400 results.
Well I’m not ploughing through all those! ??
We have customers using Siteground and I can’t remember anyone having the same kind of error.
Well, I can only say the Full NF wouldn’t install and I had to go for the WordPress NF. I can email you the transcript of the Siteground conversation if you want?
regards
Hi,
Thanks, that did the trick. But don’t I need a php.ini file?….
I also have files:
php.ini.ninja1522855119
php.ini.ninja1522855468
.htaccess.ninja1522855468Should I delete those, too?
And after all that, where are we? Back to square one before I installed NF?
I’m with Siteground and had a long chat with their support people because I was unable to install the Full WAF…despite their server apparently meeting all the requirements. They were puzzled, too. So in the end I just installed the WordPress WAF…with resulting problems!
Yes I have deleted NinjaFirewall….and things have got worse!
1. The live site displays in all browsers an error code at top of page…
Warning: array_merge(): Argument #2 is not an array in /home/mywebsite/public_html/wp-includes/load.php on line 63
2. After deleting NF in the wp admin, I clicked to navigate to another admin page…but just got the long list of errors plus a wp login box beneath. However, was unable to login …
Error: Cookies are blocked due to unexpected output
3. If I try and access /wp-login.php directly I get these error codes plus the login box beneath:
Warning: array_merge(): Argument #2 is not an array in /home/mywebsite/public_html/wp-includes/load.php on line 63 Warning: Cannot modify header information - headers already sent by (output started at /home/sedpet85/public_html/wp-includes/load.php:63) in /home/mywebsite/public_html/wp-login.php on line 421 Warning: Cannot modify header information - headers already sent by (output started at /home/sedpet85/public_html/wp-includes/load.php:63) in /home/mywebsite/public_html/wp-login.php on line 434
The long and the short of it is…I can’t login to my admin anymore!
When I look at the main site in some other browsers under a different system (OSX Yosemite, Safari and Linux Mint, Firefox) the code line at the top of the live site does not show.
So because at the moment it’s only affecting login/logout, I can probably live with it.
In case you’re interested, the sequence of events is thus:
1. From Admin, click logout
2. Screen shows long list of code errors
3. Refresh the window and screen shows a dialogue saying “You are trying to logout of admin – do you want to continue? [logout link]”
4. Clicking that link returns me to the WordPress login screenSo it’s not disastrous – but it’s not as it should be!
regards
Hi, thanks for response.
1. Uninstall completely NinjaFirewall (click on the “Delete” link) to make sure it’s gone. It does not modify your WP core files. It may take 5mn for PHP to reload its config after the deletion.
I will do this, yes. Although it does seem to have modified wp-config file with some lines straight after the <php opener. Maybe wp-config is not a ‘core’ file..??
2. Try to debug and find out what is being sent by your blog and forces HTTP headers to be sent earlier than expected.
I wouldn’t know where to start, sorry! I’m not a coder or dev, I’m just a user!
Hi,
I’ve not seen any PHP notice or warning errors on the site before installing your plugin – everything was working fine.
And even in admin now, there are no “notices or warnings” that I can see. What should I be looking for?
Pre-Ninja, everything fine. Post-Ninja, errors everywhere!
…and just noticed that there is now a WARNING: code line at the top of my live site….
Warning: array_merge(): Argument #2 is not an array in /home/wywebsite/public_html/wp-includes/load.php on line 63
This line remains even if I deactivate the plugin or disable the Firewall. So it’s written some code into other system files, no doubt.
Hmmm, not so good!
Forum: Plugins
In reply to: [Max Mega Menu] 2nd level menu item spacing (leading)Hi Tom,
Thanks for the weekend reply!
I tried that and, yes, it made a substantial difference! Thanks. I guess I was looking at padding for 2nd level items… and in case didn’t really know what ‘items’ were!
It’s a bit of trial and error trying to work out which parameters effect which part of the panel, or items in the panel. I’d like to add a little bit more space at the bottom of the panel, below the last link in a column, for example. I can’t use item padding, obviously. But adding panel padding (bottom) doesn’t seem to make any difference at all. ??
It’s like being new to theatre lighting and wondering which switch turns various lights on ??
I’ll certainly transfer the site to live when I get the chance, but at the moment all my hosting databases are tied up.
cheers
HughForum: Plugins
In reply to: [Max Mega Menu] 2nd level menu item spacing (leading)Screenshots are here (for a short while):
https://www.dropbox.com/sh/7tetrqilqxasa22/AABdjqmRtZJHkw4e5CyvCQkOa?dl=0
Forum: Plugins
In reply to: [Max Mega Menu] 2nd level menu item spacing (leading)Hi Tom,
Sorry couldn’t take your message earlier, called out.
OK, I’ll try that and see. In case you can help me identify the relevant part of the CSS….imagine a full width megamenu panel of 4 columns, but only one column populated (so far) with 2nd level links (4 of them). On my iMac screen res. 1920×1200, the vertical gap or space between each link is about 17mm. The font size of the links is 14px bold.
It just looks wrong! But oddly enough, if I have columns headed with a 2nd level link followed by a number of 3rd level links below, it looks absolutely bob-on, splendid!
Sorry I can’t send you a screen shot, but obviously no way to share the localhost.
cheers
HughForum: Plugins
In reply to: [Max Mega Menu] 2nd level menu item spacing (leading)Hi Tom,
Thanks for quick reply. OK, understand the ‘methodology’ now…no wonder I couldn’t find it!
Instead, you should simply write some custom CSS that does what you need it to and paste it into the Mega Menu > Menu Themes > Custom Styling section.
That would be ok if I could write CSS! I can change a few parameters when I find them, but I don’t know CSS well enough to write it.
Could you post a link to your site, and provide a screenshot of what you’re trying to do? I will provide instructions.
The site’s on a localhost development, so no. I could send screenshots, but doesn’t seem any way to do that here?…
cheers
HughForum: Themes and Templates
In reply to: [Twenty Seventeen] Can’t set static front pageWell said, furious…I’m furious, too. Upgraded to 4.9.4 and the static page option under the Reading settings has vanished.
No doubt it’s been moved somewhere unobvious without telling anyone.
Backgrading anticpated……
Forum: Fixing WordPress
In reply to: Creating null links in menuAha! The hash sign! Simple when you know! Thanks Steve, excellent tip.
cheers
Forum: Fixing WordPress
In reply to: Upgrade path – milestone releasesHi Phil,
In a word, no! In fact I’d completely forgotten about this thread!
TBH, because my site is mostly pages as opposed to posts, I’ve decided to skip the upgrade job and just build a new site from scratch on the latest WP – just cutting&pasting the content.
That may sound ludicrously long-winded. But given all the pitfalls of upgrading, and the many version upgrades I’d have had to undertake (probably with pitfalls every time), I consider it the lesser of two evils ??
The moral of the story is: don’t miss an upgrade! Once you get behind you’ll never catch up!
good luck & regards