Entries in suspect_pages but checkdb shows no error

I am using Microsoft SQL Server 2016 (SP2-GDR) (KB4505220) – 13.0.5101.9 (X64) Jun 15 2019 23:15:58 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 (Build 9600: )

Yesterday, I got two entries in “suspect_pages” for the same database. One of event type 1 and one of type 2

1 = An 823 error that causes a suspect page (such as a disk error) or an 824 error other than a bad checksum or a torn page (such as a bad page ID).

2 = Bad checksum.

database_id file_id page_id eventtype   error_count last_update_date 8           1       1482057 1           1           2019-11-14 14:40 8           1       1482057 2           1           2019-11-14 14:40 

I found the object related and they both point to the same table on the database.

DBCC TRACEON (3604); DBCC PAGE (8, 1, 14823057, 0); DBCC TRACEOFF (3604);

I had a valid backup of before the corruption and couldn’t afford a down time so I took a backup of the corrupted database, restored my backup on a new name. I dropped the corrupted table and then recreated it from the valid backup.

Today, I restored the corrupted database backup that I took yesterday on a test server and when I run a full checkdb, it detects no corruption.

DBCC CheckDB() WITH No_INFOMSGS, ALL_ERRORMSGS

How is it possible that the backup I took from a corrupted database (according to suspect_pages) doesn’t have any problems? Can those entries in suspect_pages be a false positive?

Database Compatibility Level is 130 (SQL 2016) Our SQL Server is running on Windows Server 2012.

Error trying to solve a 2D elasticity problem using FEM package

I have the following equations $ $ \frac{\partial{N_x}}{\partial{x}}+\frac{\partial{N_{xy}}}{\partial{y}}=0$ $ $ $ \frac{\partial{N_y}}{\partial{y}}+\frac{\partial{N_{xy}}}{\partial{x}}=0$ $ where \begin{equation} \begin{bmatrix}N_{x}\N_{y}\N_{xy}\end{bmatrix}=\begin{bmatrix}A_{11}(x)&A_{12}(x)&0\A_{12}(x)&A_{22}(x)&0\0&0&A_{66}\end{bmatrix}\begin{bmatrix}\frac{\partial{u}}{\partial{x}}\\frac{\partial{v}}{\partial{y}}\\frac{\partial{u}}{\partial{y}}+\frac{\partial{v}}{\partial{x}}\end{bmatrix}\end{equation} $ A_{ij}$ are varies only on $ x$ direction. The boundary conditions are shown bellow. I’m trying to apply the complete panel BCs.

99

Can someone help me to model this problem. I looked the FEM package, but I still can’t solved. Thank you in advance. I’m looking for solution to u(x,y) e v(x,y).

Follow my code:

E1 = 147 10^9; E2 = 10.3 10^9; G12 = 7 10^9; nu12 = 0.27; nu21 = (E2*nu12)/E1; t = 0.127 10^-3; a = 1; b = 1; u0 = -1;  Son = {{1/E1, -nu12/E1, 0}, {-nu21/E2, 1/E2, 0}, {0, 0, 1/G12}}; Qon = Inverse[Son]; angles = {{0, 45}, {0, -45}, {0, -45}, {0, 45}}; num = Dimensions[angles][[1]]; h = num*t; pos = Table[0, num + 1]; pos[[1]] = -h/2; For[i = 2, i <= num + 1, i++, pos[[i]] = pos[[i - 1]] + t;] mA = ConstantArray[0, {3, 3}]; mB = ConstantArray[0, {3, 3}]; mD = ConstantArray[0, {3, 3}];  For[i = 1, i <= num, i++, T0 = angles[[i, 1]] (pi/180); T1 = angles[[i, 2]] (pi/180); theta[x_] = (2/a) (T1 - T0) Abs[x] + T0; m = Cos[theta[x]]; n = Sin[theta[x]]; Q11 = Qon[[1, 1]]; Q12 = Qon[[1, 2]]; Q22 = Qon[[2, 2]]; Q66 = Qon[[3, 3]]; Qxx = m^4*Q11 + n^4*Q22 + 2*m^2*n^2*Q12 + 4*m^2*n^2*Q66; Qyy = n^4*Q11 + m^4*Q22 + 2*m^2*n^2*Q12 + 4*m^2*n^2*Q66; Qxy = m^2*n^2*Q11 + m^2*n^2*Q22 + (m^4 + n^4)*Q12 + -4*m^2*n^2*Q66; Qss = m^2*n^2*Q11 + m^2*n^2*Q22 - 2*m^2*n^2*Q12 + (m^2 - n^2)^2*Q66; Qxs = m^3*n*Q11 - m*n^3*Q22 + (m*n^3 - m^3*n)*Q12 + 2*(m*n^3 - m^3*n)*Q66; Qys = m*n^3*Q11 - m^3*n*Q22 + (m^3*n - m*n^3)*Q12 + 2*(m^3*n - m*n^3)*Q66; Qoff = {{Qxx, Qxy, Qxs}, {Qxy, Qyy, Qys}, {Qxs, Qys, Qss}}; mA = mA + Qoff*(pos[[i + 1]] - pos[[i]]); mB = mB + Qoff*(pos[[i + 1]]^2 - pos[[i]]^2); mD = mD + Qoff*(pos[[i + 1]]^3 - pos[[i]]^3); ]; mB = mB/2; mD = mD/3;  Needs["NDSolve`FEM`"] omega = Rectangle[{-a/2, -b/2}, {a, b}]; mesh = ToElementMesh[omega];  A11[x_] = mA[[1, 1]]; A12[x_] = mA[[1, 2]]; A16[x_] = mA[[1, 3]];  A22[x_] = mA[[2, 2]]; A26[x_] = mA[[2, 3]]; A66[x_] = mA[[3, 3]]; Nx[x_, y_] = A11[x] D[u[x, y], {x, 1}] + A12[x] D[v[x, y], {y, 1}] +               A16[x] (D[u[x, y], {y, 1}] + D[v[x, y], {x, 1}]); Ny[x_, y_] = A12[x] D[u[x, y], {x, 1}] + A22[x] D[v[x, y], {y, 1}] +               A26[x] (D[u[x, y], {y, 1}] + D[v[x, y], {x, 1}]); Nxy[x_, y_] = A16[x] D[u[x, y], {x, 1}] + A26[x] D[v[x, y], {y, 1}] +                A66[x] (D[u[x, y], {y, 1}] + D[v[x, y], {x, 1}]);  PDEs = {D[Nx[x, y], {x, 1}] + D[Nxy[x, y], {x, 1}], D[Ny[x, y], {y, 1}] +          Nxy[x, y], {y, 1}]}; gammaD = {DirichletCondition[u[x, y] == u0, x == a/2],            DirichletCondition[u[x, y] == -u0, x == -a/2]}; NDSolve[{PDEs == {0, 0}, gammaD}, {u,     v}, {x, y} \[Element] mesh]; 

I’m getting the following error:

NDSolve::femcnmd: The PDE coefficient {{0.000508 (-8.22842*10^11 Cos[Times[<<2>>]]^3 Sin[1.5708 Abs[<<1>>]] (Abs^\[Prime])[x]-4.04788*10^10 Cos[1.5708 Abs[<<1>>]] Sin[Times[<<2>>]]^3 (Abs^\[Prime])[x])+0.000254 (<<1>>)+<<1>>+1/2 (-0.001016 (-8.22842*10^11 Power[<<2>>] Sin[<<1>>] (<<1>>^(<<1>>))[<<1>>]-4.04788*10^10 Cos[<<1>>] Power[<<2>>] (<<1>>^(<<1>>))[<<1>>])-0.000508 (2.32093*10^11 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]-7.45065*10^11 Power[<<2>>] Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+1.62623*10^10 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+1.67953*10^10 Plus[<<3>>])-0.000508 (-2.32093*10^11 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+7.45065*10^11 Power[<<2>>] Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]-1.62623*10^10 Power[<<2>>] (<<1>>^(<<1>>))[<<1>>]+1.67953*10^10 Plus[<<3>>])),<<1>>}} does not evaluate to a numeric matrix of dimensions {1,2} at the coordinate {-0.4625,-0.4625}; it evaluated to {{0.,5.79879*10^6 (Abs^\[Prime])[-0.4625]}} instead. 

Can someone help me? Thank you all in advance.

Display form errors on small screen. Scroll to error vs errors by submit button

I’m working on improving error visibility on our form. We display errors next to the field and highlight the tab containing errors. Which works well on desktops above a certain resolution. But on mobile or small laptops errors aren’t always visible.

This screen shot below of the form contains errors but are only visible when scrolling up.

Mobile View

mobile view


Actual Page

enter image description here

Should I display errors beside the save/submit button or scroll to the area/tab that needs correction?

cURL timeout error 28 in Site Health and Sucuri SiteCheck

I run a server hosting multiple WordPress installations with the iThemes Security Pro plugin installed. One of the things that this plugin does is it uses Sucuri SiteCheck to scan the site for vulnerabilities: https://sitecheck.sucuri.net/

Recently, SiteCheck has been failing on all of my sites, reporting the following error:

Unable to properly scan your site. Timeout reached 

Coincidentally, the new Site Health WordPress Tool has also been reporting the following error on all my sites:

The REST API is one way WordPress, and other applications, communicate with  the server. One example is the block editor screen, which relies on this to  display, and save, your posts and pages.  The REST API request failed due to an error. Error: [] cURL error 28: Connection timed out after 10000 milliseconds 

I suspect that the issues are related, but I don’t know where to start to fix this issue. I have both Fail2Ban and ModSecurity enabled on my server and on Apache respectively, but the problem still persists when I turn off the services.

Will appreciate if someone could help pinpoint possible issues. SiteCheck has always worked on my server without a hitch.

Is it better to replace a button with error text or show error on click?

Context: mobile banking app

I need to design a state for when the user is no longer able to transfer money because they have payments overdue on their account.

Is it better to:

  1. Keep the button “Transfer money” and when the user clicks, display an error message explaining why this action is blocked

OR

  1. Remove the “Transfer money” button and put the error message text in it’s place.

Is it better to replace a button with error text or show error on click?

Context: mobile banking app

I need to design a state for when the user is no longer able to transfer money because they have payments overdue on their account.

Is it better to:

  1. Keep the button “Transfer money” and when the user clicks, display an error message explaining why this action is blocked

OR

  1. Remove the “Transfer money” button and put the error message text in it’s place.

Is it better to replace a button with error text or show error on click?

Context: mobile banking app

I need to design a state for when the user is no longer able to transfer money because they have payments overdue on their account.

Is it better to:

  1. Keep the button “Transfer money” and when the user clicks, display an error message explaining why this action is blocked

OR

  1. Remove the “Transfer money” button and put the error message text in it’s place.

Page error on first load after an app pool recycle

Any web part page throws an error the first time its loaded after the app pool recycles. Refreshing the page will then bring it up fine, and everything works until the next time the app pool is recycled. Pages that are not web part pages do not throw errors and load fine. For example, settings.aspx works fine, a newly created page with no web parts added will throw an error one time after an app pool recycle.

This also happens in central admin. Monitoring.aspx has web part zones, but no web parts, and throws an error. Pages like “manage servers in this farm”, _admin/farmservers, works fine.

The log has the generic error of “Unexpected System.ArgumentException: Value does not fall within the expected range.”, which I think is usually associated with custom solutions, but again, this occurs on pages with no customizations. Before this error in the log are many entries with “Config cache Name lookup failure in derived cache for…”. I’ve cleared the SP Config Cache, though that did not resolve the issue.

Any suggestions?

This is SharePoint 2019