Skip to content

Advance Module Manager tries to update database when rendering a module #886

Answered by johanjanssens
desbear asked this question in Q&A
Discussion options

You must be logged in to vote

The 1062 is a database related error. In this case it seems this is due to a conflict between the Advanced Module Manager and Falang. If you check the callstack you see that: AdvancedModulesModelModule->saveAdvancedParams() is being called and intercepted by Falang JFalangDatabase->execute() which isn't able to execute the intercepted query.

What is happening

  1. Advanced Module Manager is trying to store params in the database
  2. Falang is intercepting the query and trying to translate it

For some reason Advanced Module Manager is executing a update query for the module params, it decides this in com_advancedmodules/models/module.php:1675 This is really bad practice, a frontend GET request sh…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@desbear
Comment options

@johanjanssens
Comment options

Answer selected by desbear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants