Hi can somebody help me with this?
I downloaded the static page event at the plugins section.
Then I installed the plugin after that ,, a message appeared at the bottom of the site
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\serendipity\plugins\serendipity_event_staticpage\serendipity_event_staticpage\serendipity_event_staticpage.php on line 2718
What I am going to do with this?
...
And there is also a damage in the file when I downloaded it and extracted it . I think its not completed yet
Static Page Problem: Invalid argument supplied for foreach()
Re: Static Page Problem: Invalid argument supplied for forea
Yeah, it looks like the foreach needs to be surrounded by this, if you do not have static pages in the database by now.
Do it yourself or wait for an updated version
Code: Select all
if(is_array($pages)) {
foreach......
}Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian