Recent Topics

1 Sep 22, 2019 16:44    

6.11.3 count() problem

I'm using b2evo 6.11.3 and have put the widget on the home page https://womensvoicesmedia.com/index.php?blog=1&disp=front

When the page loads for an unregistered person, the widget appears and with the following errors (see screenshot). I had expected that the widget would not appear until a usr was logged in.

If you use the login button the process hangs up. If you then use the login at the top of the page it does not hang.

I set the _advanced.php to $display_errors_on_production = false; so you cannot see the error message shown in the screenshot

3 Sep 23, 2019 04:25

@amoun
I looked at that before I posted. It was confusing to me in light of @fplangues comments. I sure do wish he would clarify. Did your fix work?

Thanks for the reply!

4 Sep 23, 2019 20:10

@amoun
I attempted your fix and it cause other errors. Thanks for the help!

5 Sep 23, 2019 21:22

@wrc
So what exactly did you do, code wise?

To effect the changes I made, though not in this file, you would need to change code from
count ()
to
([
])
in each of the following lines.(129, 135,175)

6 Sep 24, 2019 02:28

@amoun
I change to the square brackets and had a cascade of errors in the same widget. I attempted a new install in b2evo 7.0.1 and have the same problem. I would think it was because I testing in a windows install but it also happens in an linux/apache install. I have decided to not use the Poll widget and simply hope somebody else finds the fix.

thanks for you help!


Form is loading...