Create a page in the menu bar from BD

Are you asking how to create a static page directly via SQL in the database?

We can’t really recommend or support direct manipulation of the database outside of the framework, especially if you are indicating that the code itself might be causing problems.

On the other hand, the static pages plugin operates similarly to other plugins with regard to storing data in the plugin_settings table. For example, you did some similar work with the Custom Block Manager plugin here: