Archived topic
Undefined variable
3 replies · Started by Kulwant on July 23, 2019
I am getting following error with debug mode active.
Please resolve it.
Notice: Undefined variable: post in /home/SERVER/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(180) : eval()'d code on line 3
Hi there,
That usually means there is a coding error in the content of your hooks element.
Can you double check your code?
Let me know :)
How can find which code is creating the issue?
You can set each element to draft until the error disappears.