B
B
Banny_Boom2015-07-18 23:37:25
WordPress
Banny_Boom, 2015-07-18 23:37:25

Why doesn't it let me write a blank to a PostgreSQL column?

SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""
not null -
what's the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
RigidStyle, 2018-12-02
@RigidStyle

Why are you uploading it in its entirety? Load the first screen immediately, and then let everything else load. The image on the first screen also load gradually.
Another server response is long. 1.94sec. Probably caching issues. But it is not exactly. The server response is desirable to fit in 200 ms. Well, 300 is the edge.
And yes, the slider on the first screen is the main evil of WordPress.
For some reason, they also turned off the right button and disabled the selection. What for? Extra scripts that are loaded among the first.

S
Segaprm, 2018-12-03
@ezhovprm

Optimize images, your main page is 52.6MB. Reduce their weight, there are a lot of plugins for wp and services on the internet. This will greatly increase the loading speed of the site. It shows which images need to be optimized and in general what needs to be done on the Link site . And I would also remove the animation, it also loads the site on load, leave the animation only on hover.

O
Optimus, 2015-07-18
@Banny_Boom

So integer is like, there must be some number, and the emptiness "" is not equal to the number 0 if compared like this ===

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question