“Process exited with error(s)” as only message in TeXmaker

I've always used TeXmaker to compile my documents, but a couple of days ago it stopped working for apparently no reason. Therefore, I uninstalled and installed again both MikTex and TeXmaker (it worked with other problems in the past) but now, when I try to compile a test document, it just throws the error message "Process exited with error(s)" with no further information about what the error is. The code is very simple.

\documentclass{article}
\begin{document}
Hello world.
\end{document}


I suspect there might be a communication problem between Miktex and TeXmaker but I don't know where to start fixing it and I could really use some help. Thanks.

P.S.: this is the Texmaker current configuration.

• in which order did you install miktex and texmaker? – samcarter May 8 '18 at 8:56
• Can you try and compile your document from the command line? On Windows: Win+R, cmd, navigate to the folder where your .tex files lives with cd, compile with pdflatex documentname. What output do you get? Do you get a .log file at all? – moewe May 8 '18 at 9:02
• @samcarter First miktex, second texmaker – Davide Masiello May 9 '18 at 13:39
• Use Windows Explorer to go the the directory with your .tex file. Then type alt+d, then type cmd, and hit enter. In the command window that opens, type pdflatex documentname and hit enter. What happens? What are the contents of documentname.log? – Teepeemm May 9 '18 at 15:08
• That suggests that Miktex is working properly. When you try to compile with Texmaker, do you still have the problem? What is the content of documentname.log in that case? Or does it not get updated, and still has the content from before? – Teepeemm May 9 '18 at 15:37