e107help.org Q&A
0 like 0 dislike

I am making a plugin that uses Simple HTML DOM code - https://gist.github.com/LaocheXe/aa797412281d835e54ac <----simple_html_dom.php.


The plugin is to get the data from a website and save it in a cache folder as an html document. It works without it being in e107. What I am doing is making an admin section that saves needed information to get the server status (what server, url to webpage, cache file name, and cache time life) so I have the plugin prefs as server, url, cache_file_name, and cache_tile_left. I made a e_shortcode.php and tried it in a custom page via admin area.

I am getting an error - Fatal error: Call to a member function innertext() on a non-object in /usr/www/webmc/defiantz/e107_plugins/swtorss/simple_html_dom.php on line 871

Here is the shortcode php I did - https://gist.github.com/LaocheXe/320b2d6f4504f6a568dc

e107 version e107 version 2.0
in Plugins by (459 points) 17 37 50
reopened by
Excuse me, I write this comment just to be notified if you get an answer. I had used SHD (not OOP version) six months ago (not with prefs), so I am interesting in this. Thanks for understanding.
@LaocheXe: instead of just closing this question as being 'answered', please share the answer so others can use this information if they have similar issues.

Please log in or register to answer this question.

996 questions
1,389 answers
2,512 users