Database being hit with thousands of (Google?) search queries causing high load

I have a bit of a strange issue. Running this WordPress site several years now, but never encountered anything like this. LEMP server (ubuntu, nginx 1.18, mysql 8) Two weeks ago (according to Google Search Console excluded noindex pages and me manually checking mysql processes), more and more hits to the database started to occur (now already 4M+). All very similar (search queries?):

SELECT COUNT(*) FROM xx_posts WHERE 1=1 AND (((xx_posts.post_title LIKE '%google=662496898\_session/feed/rss2/<a_href/page/3//page/1/&usg=AOvVaw1w32-jX45qQEhTH-iBghzF

The part after rss2 tends to change. No idea where this is coming from, but it seems to be increasing and causing the server load to increase as well.

Has anyone seen this before? Or hints to find where this is coming from? No new plugins or themes were installed in the past few months. Everything is up to date.

enter image description here

enter image description here

Hot reload with bundled assets are not being loaded/auto refresh in browser

I am trying to hot reload with my project’s bundled assets, but hot reload is not executing the browser refreshes when I make changes to any of my files.

I am looking at the F12 browser console, but nothing is being executed or loading, its just blank.


function workshop_01_theme() {     wp_enqueue_script('workshop_01-js', get_theme_file_uri('/bundled-assets/scripts.bedc8565a6cb22e37037.js'), NULL, '1.0', true);     wp_enqueue_style('worskshop_01-style', get_theme_file_uri('/bundled-assets/styles.bedc8565a6cb22e37037.css')); } add_action('wp_enqueue_scripts', 'workshop_01_theme'); 

enter image description here


{   "name": "workshop_01",   "version": "1.0.0",   "description": "",   "main": "index.js",   "scripts": {     "dev": "npm-run-all -p devFast buildWatch",     "devFast": "webpack serve",     "buildWatch": "webpack --watch",     "build": "webpack",     "test": "echo \"Error: no test specified\" && exit 1"   },   "keywords": [],   "author": "",   "license": "ISC",   "dependencies": {     "@babel/core": "^7.14.5",     "@babel/preset-env": "^7.14.5",     "@babel/preset-react": "^7.14.5",     "@glidejs/glide": "^3.4.1",     "autoprefixer": "^10.2.6",     "axios": "^0.21.1",     "babel-loader": "^8.2.2",     "clean-webpack-plugin": "^4.0.0-alpha.0",     "css-loader": "^5.2.6",     "cssnano": "^5.0.6",     "fs-extra": "^10.0.0",     "jquery": "^3.6.0",     "mini-css-extract-plugin": "^1.6.0",     "normalize.css": "^8.0.1",     "npm-run-all": "^4.1.5",     "postcss-color-function": "^4.1.0",     "postcss-hexrgba": "^2.0.1",     "postcss-import": "^14.0.2",     "postcss-loader": "^6.1.0",     "postcss-mixins": "^8.1.0",     "postcss-nested": "^5.0.5",     "postcss-simple-vars": "^6.0.3",     "react": "^17.0.2",     "react-dom": "^17.0.2",     "style-loader": "^2.0.0",     "webpack": "^5.38.1",     "webpack-cli": "^4.7.2",     "webpack-dev-server": "^3.11.2",     "webpack-manifest-plugin": "^3.1.1"   } } 


import "../css/styles.css"  // Allow new JS and CSS to load in browser without a traditional page refresh if ( { } 


const currentTask = process.env.npm_lifecycle_event const path = require("path") const MiniCssExtractPlugin = require("mini-css-extract-plugin") const { CleanWebpackPlugin } = require("clean-webpack-plugin") const { WebpackManifestPlugin } = require("webpack-manifest-plugin") const fse = require("fs-extra")  const postCSSPlugins = [require("postcss-import"), require("postcss-mixins"), require("postcss-simple-vars"), require("postcss-nested"), require("postcss-hexrgba"), require("postcss-color-function"), require("autoprefixer")]  class RunAfterCompile {   apply(compiler) {     compiler.hooks.done.tap("Update functions.php", function () {       // update functions php here       const manifest = fse.readJsonSync("./bundled-assets/manifest.json")        fse.readFile("./functions.php", "utf8", function (err, data) {         if (err) {           console.log(err)         }          const scriptsRegEx = new RegExp("/bundled-assets/scripts.+?'", "g")         const vendorsRegEx = new RegExp("/bundled-assets/vendors.+?'", "g")         const cssRegEx = new RegExp("/bundled-assets/styles.+?'", "g")          let result = data.replace(scriptsRegEx, `/bundled-assets/$  {manifest["scripts.js"]}'`).replace(vendorsRegEx, `/bundled-assets/$  {manifest["vendors~scripts.js"]}'`).replace(cssRegEx, `/bundled-assets/$  {manifest["scripts.css"]}'`)          fse.writeFile("./functions.php", result, "utf8", function (err) {           if (err) return console.log(err)         })       })     })   } }  let cssConfig = {   test: /\.css$  /i,   use: ["css-loader?url=false", { loader: "postcss-loader", options: { postcssOptions :{ plugins: postCSSPlugins } }}] }  let config = {   entry: {     scripts: "./js/scripts.js"   },   plugins: [],   module: {     rules: [       cssConfig,       {         test: /\.js$  /,         exclude: /(node_modules)/,         use: {           loader: "babel-loader",           options: {             presets: ["@babel/preset-react", ["@babel/preset-env", { targets: { node: "12" } }]]           }         }       }     ]   } }  if (currentTask == "devFast") {   config.devtool = "source-map"   cssConfig.use.unshift("style-loader")   config.output = {     filename: "bundled.js",     publicPath: "http://localhost:3000/"   }   config.devServer = {     before: function (app, server) {       // server._watch(["./**/*.php", "./**/*.js"])       server._watch(["./**/*.php", "!./functions.php"])     },     public: "http://localhost:3000",     publicPath: "http://localhost:3000/",     disableHostCheck: true,     contentBase: path.join(__dirname),     contentBasePublicPath: "http://localhost:3000/",     hot: true,     port: 3000,     headers: {       "Access-Control-Allow-Origin": "*"     }   }   config.mode = "development" }  if (currentTask == "build" || currentTask == "buildWatch") {   cssConfig.use.unshift(MiniCssExtractPlugin.loader)   postCSSPlugins.push(require("cssnano"))   config.output = {     publicPath: "/wp-content/themes/workshop_01/bundled-assets/",     filename: "[name].[chunkhash].js",     chunkFilename: "[name].[chunkhash].js",     path: path.resolve(__dirname, "bundled-assets")   }   config.mode = "production"   config.optimization = {     splitChunks: { chunks: "all" }   }   config.plugins.push(new CleanWebpackPlugin(), new MiniCssExtractPlugin({ filename: "styles.[chunkhash].css" }), new WebpackManifestPlugin({ publicPath: "" }), new RunAfterCompile()) }  module.exports = config 

my webpack config file may be the issue, but I dont know what I should be doing to make hot reload work for my project here…

Gizmos not being drawn until GameObject selected

I have implemented Scene loading in my game and have three scenes: Persistent, Main Menu and Game

By default, the player is loaded into the Persistent scene, which immediately loads the Main Menu, and when the player clicks on Play, Main Menu is unloaded and Game is loaded.

Now, the two active scenes are Persistent and Game.

However, I have a script with OnDrawGizmos on a GameObject in the Game scene. It seems that by default gizmos only begin to be drawn when I click on that GameObject, sort of activating it, and everything works fine. This used to just work before because Game was my only scene and Unity automatically selected that first GameObject. Now, with multiple scenes, no GameObject is selected by default and my gizmos won’t draw until I manually click on it.

How can I solve this?

Will a target being apatic after broken haste still remain apatic after beeing downed? [closed]

We had a strange situation in a fight,

and I really side with my DM here who denied it, but the question still remains:

  1. a character is hasted
  2. the concentration breaks, character is in an lethargic state
  3. character gets knocked down before his next turn
  4. the target is no longer a willing creature (?), also it’s status alignments should end when knocked unconscious
  5. the character receives healing and gets back up on his feet -> will he still be lethargic?

I should note that we assume a character would not remain unconscious even after beeing healed / stabilized for simplicity reasons. ( I heard some groups play it this way, unsure about the correct rulings here )

Are there any ways to increase the number of items I can attune to without being an Artificer?

The problem is quite simple: I want to attune to four or more magical items at once, and I don’t want to take ten levels in Artificer.

Are there any features, items, etc. that increase the number of items you can attune to without being a 10th level or higher artificer?

Is there any sort of precedent for training to learn / being taught Feats?

I’m interested in acquiring a specific Feat more quickly that just from levelling. It’s a Mastery Feat for the weapon I’ve just portentously received and am proficient with, but would like to become excellent with.

I know that you can gain proficiencies in entire weapons classes as "training", but that’s not quite the same as learning a Feat.

Is there an established process for stuff like this? Naturally, I’m going to talk to my DM about it, but I’m curious to know whether there’s any precedent for it.

Some specifics:

  • Character: Half-Orc Barbarian.
  • Weapon: Spear. (With bonus flavour stuff, but mechanically just a spear most of the time)
  • Feat: Either Polearm Master (errata’d to include Spears) or Spear Mastery (from UA)

Data being edited in .opvn config when vpn app http gets .opvn files from my host. Adds my wordpress site code and removes the config

I have a VPN app that pulls .ovpn files from a folder on my website /home/mywebsitename/public_html/remoteovpn When I add the .opvn files to this folder and my app pulls them from https request. You can go to the files in the browser link, you can see them and read all the config no problem even dl them. But when my app pulls the files it gets the file names and makes the .opvn files, but edits the files with my website wp theme data, not the .ovpn config data. I can’t figure why it is doing this. Any help would be appreciated been trying for 2 days

VPS with CentOS 7 and cPanel with wordpress theme