Posts by Paulo Lopes

    Hi SPQRInc. Thanks for your help.

    I give a look and implement that solution but unfortunately that doesn't work.

    What I have done instead use the model I have use the ORM Query Builder, and instead call the object I call the App::db()->insert('@tbale', $data).

    That solve my problem.

    Thanks for your help

    I need to run a cron job in my server to run a specific script which import data from an API and save in local database.

    In symfony I normally create a command and in the server I create a cron job to run that command every X hours.

    to do the same I have create my package and with all details (Model/Service/Commands etc), and regist the console command under the console.init in events.

    when the service to save the data on the database from the controller works without any problem.

    When I call the command throw me the follow error:

    1. [Symfony\Component\Debug\Exception\FatalThrowableError]
    2. Call to a member function load() on null

    this happen when I execute the line to create the Model

    Hello. I have create an extension to manage the blog posts by categories.

    in the scripts.php I add the follow code to add the menu:

    if I go to the categories index, both items appear (Categories in the main menu, the burger to the main menu, and All categories in the sub-menu).

    but when I go to the add categories page I don’t have none of the items

    can any one help me understand why this happen, or where i need to tell to the menu item appear in this page.

    This is causing an issue in js and receive the follow message:

    theme.js?v=5992:48 Uncaught TypeError: Cannot read property 'message' of undefined

    at theme.js?v=5992:48

    at HTMLDocument.handle (vue.js?v=5992:152)

    that error is related with: