diff --git a/scripts/tests/syntax.sh b/scripts/tests/syntax.sh
index 5ec7eed9..faf6c451 100644
--- a/scripts/tests/syntax.sh
+++ b/scripts/tests/syntax.sh
@@ -1,11 +1,11 @@
#!/bin/bash
echo -e "\e[1;34mChecking syntax error\e[00m"
-output=$(find . -name '*.php' -exec php --syntax-check {} \; | grep -v 'No syntax errors detected in')
+output=$(find . -name '*.php' -not -path "./lib/vendor/*" -exec php --syntax-check {} \; | grep -v 'No syntax errors detected in')
if [[ $output ]]
-then
+then
echo -e '\e[00;31mPlease check files syntax\e[00m'
exit 1
-else
+else
echo -e "\e[1;32mSyntax is OK\e[00m"
fi
diff --git a/templates/error_page.inc.php b/templates/error_page.inc.php
index 29d1f9b5..ac9c51ca 100644
--- a/templates/error_page.inc.php
+++ b/templates/error_page.inc.php
@@ -48,7 +48,7 @@