url rewriting – WordPress pagination broken for page 2,3 with custom permalink. Redirects to baseurl

I have a forum installed with my wiordpress site. My pagination does not work and redirects pages 2,3, or more to baseurl when they are on homepage. Here are the settings

Forum baseurl: https://example.com/forum
Permalink structure: https://example.com/forum/%category%/%postname%/

Question link: https://example.com/forum/question/how-to-do-xyz/  (Works)
Author link: https://example.com/forum/member/johndoe/            (Works)
Category link: https://example.com/forum/qc/business/             (Works)
CategoryPosts page2: https://example.com/forum/qc/business/page/2/(Works)
Tag Posts page2: https://example.com/forum/qa-tag/pakistan/page/2/   (Works) 

HomePage questions Pagination looks like this,

https://example.com/forum/?page=2

and redirects back to

https://example.com/forum

Here is the .htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteRule ^index.php$ - (L)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forum/index.php (L)
</IfModule>

windows 10 – Is it only for me that YouTube search has been broken for several full days now?

Example URL: https://www.youtube.com/results?search_query=pinball%20wizard

For the last several days, all I see is a YouTube logo in the top and then a blank page.

The console says:

TypeError: window.customElements is undefined

Pale Moon v28.14.2. But obviously there’s some bug in their code since I get that error logged.

Videos do play, but I can’t find them if the search feature is broken.

USB tethering broken after attempting to install Huion 1060 Plus on Ubuntu 20.04

I attempted to install Huion 1060 Plus on Ubuntu by following these instructions, however after rebooting USB tethering from my Android to the PC is not working anymore with the status saying “cable unplugged”.

sudo apt install linux-headers-`uname -r`
sudo apt install git
git clone https://github.com/kolrabi/digimend-kernel-drivers.git
cd digimend-kernel-drivers
make
sudo rmmod hid-kye
sudo rmmod hid-uclogic
sudo rmmod hid-huion
sudo make uninstall
sudo make install

Reconnect the tablet or reboot the machine

This is a huge problem for me as this is currently my only source of internet connection. I have tried restarting my phone and computer with no positive result. Also tethering still works on the partition of my PC dual boot with Windows 10 installed.

I have tried Googling this, and am currently completely lost. Has anyone got an idea or can point me towards the right direction?

ssd – accessing data on a broken macbook pro

I have a MacBook Pro 13″ (2017) which is not displaying any info on the screen. It’s more than a broken screen. There’s a problem with the logic board. I’d like to sell it for parts, but I’m concerned about the data that is still on the hard drive. I don’t know whether it’s encrypted.

It appears to boot up, but the touch bar only displays the ESC key, suggesting that the problem is deeper than just the display or its controller. Apple has offered to repair this for $1500, which is more than the repaired computer would be worth.

I tried booting in target disk mode, but this doesn’t seem to be working, but without a screen, it’s hard to know what’s up.

  1. Is there way to log on to the computer (say via a USB C cable) so that I can delete any data on the SSD?

  2. Is this something that can be done at the Genius Bar?

  3. Or, is the value of this thing so low that I should just trash it?

wi fi – Network stack broken after uninstalling AFWall?

Since uninstalling AFWall and rebooting, I “connect” to LTE/3G/2G and wifi but there is always a little X on the icon and never any network access (can’t actually access anything with browsers or apps). GSM voice and SMS works normally.

No connectivity problems via LTE and wifi prior to today. I was messing around with AFWall, applied some rules and enabled/disabled it a couple times. Rebooted once or twice and decided the firewall wasn’t blocking/allowing traffic reliably and wasn’t logging and showing notifications accurately so uninstalled AFWall and rebooted.

I’ve had this phone (Zuk Z1) since 2015 and it has been solid. It has been running LOS 16 android 9 for the past 2+ years or so without issue. I’ve had this same SIM card and provider for over 2 years also.

Troubleshooting already tried:
SIM in other phones works fine
cleared dalvik
cleared SIM tools cache and data
rebooted a couple times
reset APNs

Questions:
Am I missing something obvious? Any suggestions welcome.
Is there an equivalent to “netsh int ip reset” (in windows) for android?
Can I somehow reset iptables to LOS “factory”?
Should I try re-installing AFWall? (if yes, then what?)
I will flash another ROM if necessary, but I’d like to try all other options first
Thanks for reading!

Locating a broken submission

We’ve used Webform to create a form, which users are supposed to fill and submit.

A part of this form contains tables, with cells, that are supposed to be calculated to a total for each column in those tables. However, the one who created the form, used text-fields for the cells and "Computed Twig" for the "sum cell". This has created quite the headache.

If for some reason a user writes anything other than a number say 100k/100′ instead of 100000, then presses the button to "save draft" – the form crashes, with the following:

Warning: A non-numeric value encountered in _TwigTemplate

drilling down, it references the following:

DrupalCoreTemplateTwigEnvironment->renderInline(‘{#
inline_template_start #}{{ data.f1a + data.f1b + data.f1c + data.f1d
}}’, Array)

The PROBLEM though, is that this is now saved and if the user tries to open their form to continue their work, it crashes. If an administrator tries to view their form, it crashes.

So my question is simply if there is a way to find this form on the filesystem and fix it there?
I’m also baffled that there is no check in the function that tries to sum numbers, that catches this error …

huawei – Unable to permanently deleted broken files automatically appearing in “recently deleted” in photo gallery

I have this problem since few weeks now. I am Unable to permanently deleted unknown broken files (2 videos) automatically reappearing in “recently deleted” files in photos gallery app (Oreo Huawai P Smart).

Every time I try to delete them and close the app, they automatically come back in “recently deleted”.

Tks

heroku – Java – Running a subprocess and trying to flush to output stream results in IOException: Broken pipe

Just as a background, I have a Java-based Discord bot deployed on Heroku using the 1 free worker dyno. I need to run a .exe file (stockfish 12 executable) so I’m doing that with Java Runtime.

UCIEngine(String path, Variant variant, Option... options) throws StockfishInitException {
    try {
        process = Runtime.getRuntime().exec("bin/stockfish_20090216_x64_bmi2.exe");
        input = new BufferedReader(new InputStreamReader(process.getInputStream()));
        output = new BufferedWriter(new OutputStreamWriter(process.getOutputStream()));

        for (Option option : options)
            passOption(option);
    } catch (IOException e) {
        throw new StockfishInitException("Unable to start and bind Stockfish process: ", e);
    }
}

void passOption(Option option) {
    sendCommand(option.toString());
}

void waitForReady() {
    sendCommand("isready");
    readResponse("readyok");
}

void sendCommand(String command) {
    try {
        output.write(command + "n");
        output.flush();
    } catch (IOException e) {
        throw new StockfishEngineException(e);
    }
}

The error is thrown when the output.flush() is called. I assume Heroku must be closing the output stream somehow because this code runs fine locally.

2020-10-08T01:14:03.943081+00:00 app(worker.1): chess.player.ai.stockfish.exception.StockfishEngineException: java.io.IOException: Broken pipe
2020-10-08T01:14:03.952695+00:00 app(worker.1): at chess.player.ai.stockfish.engine.UCIEngine.sendCommand(UCIEngine.java:39)
2020-10-08T01:14:03.952697+00:00 app(worker.1): at chess.player.ai.stockfish.engine.UCIEngine.passOption(UCIEngine.java:77)
2020-10-08T01:14:03.952697+00:00 app(worker.1): at chess.player.ai.stockfish.engine.UCIEngine.(UCIEngine.java:23)
2020-10-08T01:14:03.952698+00:00 app(worker.1): at chess.player.ai.stockfish.engine.Stockfish.(Stockfish.java:13)
2020-10-08T01:14:03.952698+00:00 app(worker.1): at chess.player.ai.stockfish.StockFishClient.(StockFishClient.java:21)
2020-10-08T01:14:03.952699+00:00 app(worker.1): at chess.player.ai.stockfish.StockFishClient$Builder.build(StockFishClient.java:80)

I’ve tried using ProcessBuilder aswell.