You are running wp-cli and see this error message: Unable to query OPcache status: array_key_exists(): Argument #2 ($array) must be of type array, bool given. This error is thrown when opcache_get_status( true ) is called and returns false because opcache is disabled...
James McDonald
Turn off Outlook reopen last session items Dialog popup
File => Options => General Under Start up options Change the "When Outlook opens" dialog to "Never reopen previous items"
Displaying Dates with Narrow Non-Breaking Spaces IN EXcel
Update: When using CsvView to output CSV UTF-8 you need to tell Excel to open it in UTF-8 format by including the Byte Order Mark with 'bom' => true $controller->viewBuilder() ->setClassName('CsvView.Csv') ->setOptions([ 'serialize' => 'items', 'header' => $header,...
Manual Labtech removal
https://advyon.com/how-to-manually-remove-the-lts-service-for-labtech/ Just in case the link above ^ goes away Manually make changes on the machine Changes have to be made at four different locations on the local machine in the following order. 1. Services.msc...
Network or Disk error Reported by 2ic Pallets after upgrade to Windows 11
User reports that 2iC pallets is showing "Disk or network error" regularly throughout the day Suspected Cause The network drive is on Windows 11 Pro is disconnecting every 15 minutes Default Windows 11 Pro Disconnect Timeout: After change to basically setting it to...
Tee Ping to a File on Windows
Using Powershell's Tee-Object you can view the output and pipe it to a file ping 10.17.66.100 -t | Tee-Object -FilePath teed_ping_results.txt
Herules Comms tool
Serial tool: https://www.hw-group.com/software/hercules-setup-utility
Replacing SFP’s in Cisco 2960x Switches
I have 3 Cisco ws-c2960x-24pd-l switches on a site with SFP+ slots (10GB) The switches were relocated when the business moved to another factory. The old factory must of had single-mode fibre links because the switches had SFP-10G-LR-S SFP+'s which are single-mode...
Can You Upgrade Windows 7 Pro to Windows 10 Pro RemoteLy over N-Able Take Control? Yes!
TLDR; Yes you can update Window 7 Pro to Windows 10 Pro remotely (I am in Melbourne PC was near Newcastle) Takes about 2 1/2 hours HP Laptop Latest version of N-Sight RMM Agent and Take Control also have the latest version of TightVNC Copy the Windows 10 Pro ISO...
A Bunch of Awesome Windows Utilities
https://www.nirsoft.net/
Wake-on-Lan MSI b450m pro-m2 Motherboard Ubuntu 22.04
Just took a while to get Wake-On-Lan Running on an MSI B450M Pro-M2 motherboard running Ubuntu 22.04 Using the WakeMeOnLan windows utility installed by choco install wakemeonlan and the default settings: Enable Wake-On-LAN in the BIOS Press delete at startup to get...
Cisco Router Wake On Lan
Haven't confirmed this to work yet but leaving here so I have a reference for later In the Cisco enable prompt Router# tclsh proc WakeOnLan {broadcastAddr macAddr} { set net [binary format H* [join [split $macAddr -:] ""]] set pkt [binary format c* {0xff 0xff 0xff...
Cisco Zone Based Firewall
https://www.cisco.com/c/en/us/support/docs/security/ios-firewall/98628-zone-design-guide.html
PGAdmin4 on M1 Mac fails to connect
Trying to connect PGAdmin 4 (pgadmin4-7.2-x86_64.dmg) on an M1 Macbook to a remote Postgres server using SSH tunnelling and SSH username/password auth and you get: Unable to connect to server: Failed to decrypt the SSH tunnel password. Error: 'ServerManager' object...
Turn XDebug Off in a Powershell Terminal
To turn off Xdebug in a Powershell terminal $env:XDEBUG_MODE = "off" To turn on Xdebug in a Powershell terminal $env:XDEBUG_MODE = "off" Windows 11 VSCode Terminal: XDebug output and then without when XDEBUG_MODE = "off"
Aruba APIN0305 Default Password
After a factory reset In the username section, enter 'admin.' In the password section, enter the serial number of your AP in uppercase. From here: https://info.pivitglobal.com/resources/aruba-ap-305-login-issues
NGINX + PHP-CGI + MYSQL On Windows 11
This is my setup to serve CakePHP from a virtual subdirectory on Windows 11 where http://localhost/subdir/ points to C:/dev/cake_test/webroot/ Run Terminal as Administrator then: Install chocolatey https://chocolatey.org/install Install MySQL, PHP and Nginx using...
CakePHP 4 + VSCode + DebugKit SETUP
There are three configurations this post covers Local Development Use the default if working locally If you are using CakePHP 4 and developing on the local file system (straight from Windows) use this: Debugger::setEditor('vscode'); If your project is in...