Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N Special Pages
What could be the reason when (% ... %) does not work and I only get the code instead of output?
Maybe this is not the right topic to ask, but I faced it using Special Pages for calling news..

This is the example: http://business-portal.uz/news/

Thank you!
Reply
Did you install the I18N Search plugin?
Reply
(2017-06-23, 01:54:29)Carlos Wrote: Did you install the I18N Search plugin?

Sure. It is working on the first page: http://business-portal.uz

But I use there <?php ..?> construction via components..
Reply
Where did you insert the (% searchresults .. %) code? Perhaps in a component or a template?
It should be in the page content field.
Reply
(2017-06-23, 07:22:21)Carlos Wrote: Where did you insert the (% searchresults .. %) code? Perhaps in a component or a template?
It should be in the page content field.

I am with GetSimple since 2011, Carlos ))
It is in the page content field ))

The code works perfectly on many other my websites, and i remember the same problem happened a couple of years back, but don't remember how i managed to fix that (

SOLVED: The problem was in JQuery Spoiler plugin.. My client installed it by himself along with some others.. I should have checked it in the very beginning ((
Reply
Hi mvlcek, I'm trying to display search results using a WYSIWYG special_field on a Special Page but it only works if I place it inside insert_page_content(). Here's the code: 

(% searchresults tags=hair addtags=_special_mypage component=mycomponent max=20 i18n=0 order=menuOrder showPaging=0 HEADER="" %)

Is there no way to do that using get_special_field instead of insert_page_content? I need to display search results in three different places on my Special Page (main product listing + custom navigation + slideshow) but I need to be able to change the tags used in the searchresults on each Special page as I'm trying to use one template for all categories - placing the call inside my template isn't an option. 

Has anyone done this with one of their projects? I'm really struggling here, any help is appreciated.  Huh
Reply
How can i use special pages list " news with i18n search" without ul li structure? I want use this with bootstrap 4 just like on news manager addons. Only loop without ul li structure. Thx for answer
Reply
second link
http://getsimplecms.ru/plaginy-dlya-gets...8n-search/
Look in the settings for the checkbox to disable http://prntscr.com/iqr460
Reply
(2018-03-14, 05:13:23)Oleg06 Wrote: second link
http://getsimplecms.ru/plaginy-dlya-gets...8n-search/
Look in the settings for the checkbox to disable http://prntscr.com/iqr460

I see that you have an enormous Russian section of GS on your website, including forum and pretty extensive documentation. It's a bit of a shame this info is not available for the international community..
Reply
(2018-03-14, 06:09:45)datiswous Wrote:
(2018-03-14, 05:13:23)Oleg06 Wrote: second link
http://getsimplecms.ru/plaginy-dlya-gets...8n-search/
Look in the settings for the checkbox to disable http://prntscr.com/iqr460

I see that you have an enormous Russian section of GS on your website, including forum and pretty extensive documentation. It's a bit of a shame this info is not available for the international community..

The fact is that I have never studied anywhere on a programmer, so I have never positioned myself as a developer and do not feel confident enough among programmers. Smile I'm not even sure I know enough terminology.
Carlos was very helpful to me always.
Reply
(2018-03-14, 05:13:23)Oleg06 Wrote: second link
http://getsimplecms.ru/plaginy-dlya-gets...8n-search/
Look in the settings for the checkbox to disable http://prntscr.com/iqr460

Great! THX!
Reply
Hello!

I searched a lot in the posts, but I couldn't find anything about my problem: I can´t save existing or new special pages - it looks as if they fade out a little, and stop. It works with normal pages, though.

In debug mode I see following in frontend and backend as well:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
And in frontend where the navi is:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219

This points to i18n, but the problem appears only with special pages. And as the website worked once, i think the mistake is on my side.

My Browsers (FF) console tells my this for the backend, the moment I try to save a special site:
TypeError: data is null[Weitere Informationen] edit.php:692:1
<anonym>https://www.graswander.at/verwaltung/edit.php:692:1
n https://ajax.googleapis.com/ajax/libs/jq...js:2:14779
fireWith https://ajax.googleapis.com/ajax/libs/jq...js:2:15553
w https://ajax.googleapis.com/ajax/libs/jq...js:4:11393
d https://ajax.googleapis.com/ajax/libs/jq...js:4:17218

this is line 691 and 692 of edit.php:
//title validation empty
if (data['validation-failed'] === false){ //success

As I am no programmer this doesn´t help me - I hope some of you can.
I just tell you mey settings, an d what I changed to brake it:

I am working with GS 3.3.13 and following plugins:
AdminXML Plus V0.2 supposed to be 0.3
GS Custom Settings Version 0.5
DynPages Version 0.7.2
GZipIt.php deaktivated
I18N Base V3.3.1
I18N Gallery V2.2.1
I18N V3.3.1
I18N Search V2.13.1
I18N Special Pages Version 1.3.5
KCFinder File Manager V 2.2
migrate.php deaktivated
p01-contact V 1.1.4
I18N Special Pages extras V1.25

I developed this gs site some years ago and everything worked fine.
And on the frontend it still does! https://www.graswander.at

But I had to change the provider and with it I changed to php7.25 (from lower than 5.6) and https.
I installed the newest get simple and moved the site with the migrate plugin.
Than, as everything seemed to work I updated all the plugins, popping up - except GS custom settings, as it should not be higher than 0.5 with AdminXML 0.2. It says newest 0.2 is 0.3 actually, but I tried it with 0.62: AdminXML didn´t show up.
I would not really need AdminXML, but it didn´t seem to be the problem.
When I realised, the special pages do not save anymore, I tried to downgrade several plugins, deactivated gzip, which seemed to conflict. I changed my servers php to 7.1 and even 5.6. And I remove the only new things, a cookie disclaimer and a reimplementation of matomo(analytics).
What rights should the pages have? The folder and most pages had 755. just the special pages which show a list of other special pages had 644. I changed it to 755..
I allways had the very same problem.

hope you see the problem!?
thanx,
Oliver
Reply
You have to change the constructor methods in the classes of i18n, or alternatively switch the PHP version to lower than 5.6
Reply
(2018-07-24, 14:15:18)Bigin Wrote: You have to change the constructor methods in the classes of i18n, or alternatively switch the PHP version to lower than 5.6

Thank you for your answer!
I tried to ad an empty _construct function, as you suggested to a similiar problem in this post for i18n, but it didn´t help me.
Maybe the constructor allert is not my problem, as the real pain is the vanishing page, when trying to safe a special page.
I don´t know how to change the "constructor methods" as I am no programmer. Can you tell me more?
And I have no possibility to change my server to something below php 5.6. But for security reasons that´s generally no good idea, is it!? Does it mean, i18n is generally not ready for php 7x?
Reply
You have to post warnings and errors here if you want help.
I don't think i18n runs on PHP7 without changes, because it causes warnings before redirection and thus disrupts the execution.
Reply
(2018-08-15, 15:13:48)Bigin Wrote: You have to post warnings and errors here if you want help.
I don't think i18n runs on PHP7 without changes, because it causes warnings before redirection and thus disrupts the execution.

Sorry, but I can see no other warnings than mentioned before:

In debug mode I see following in frontend and backend as well:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349 Thats the part wich I wanted to change.
And in frontend, at the nav's position:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219

In the firefox console I see following for the backend, the moment I try to save a special site:
TypeError: data is null[Weitere Informationen] edit.php:692:1
<anonym>https://www.graswander.at/verwaltung/edit.php:692:1
n https://ajax.googleapis.com/ajax/libs/jq...js:2:14779
fireWith https://ajax.googleapis.com/ajax/libs/jq...js:2:15553
w https://ajax.googleapis.com/ajax/libs/jq...js:4:11393
d https://ajax.googleapis.com/ajax/libs/jq...js:4:17218


I can´t believe all of you using i18n are running on php<5.6. Isn't this a vulnerability problem!?
Would be great if i18n could be updated for php7+. I think many would appreciate this a lot.
What is mvlcek saying about? Wink
Reply
What does PHP version have to do with vulnerability?
It's very easy to configure I18N plugin to run under PHP7, many have already done this. Unfortunately, I see according to your PHP warnings that you didn't do as described:

Code:
I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349 Thats the part wich I wanted to change.

...why?

So, open the file '/plugins/i18n_navigation/frontend.class.php', find the class 'I18nNavigationItem' and insert an empty __constuct() method into the class:

Code:
public function __construct() {}

Is it really that difficult?

If it still doesn't work, post the PHP message here. However, the first message would already be gone.
Reply
(2018-08-16, 18:54:36)Bigin Wrote: What does PHP version have to do with vulnerability?
It's very easy to configure I18N plugin to run under PHP7, many have already done this. Unfortunately, I see according to your PHP warnings that you didn't do as described:

Code:
I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349 Thats the part wich I wanted to change.

...why?

So, open the file '/plugins/i18n_navigation/frontend.class.php', find the class 'I18nNavigationItem' and insert an empty __constuct() method into the class:

Code:
public function __construct() {}

Is it really that difficult?

If it still doesn't work, post the PHP message here. However, the first message would already be gone.

Ok, I try to explain and to do it better Wink
I had allready done the changes you mentioned. Wasn`t that difficult. Just, I wasn´t shure if that´s what I had to do (as I found it in an other Thread). And after I did it, my navigation in the frontend was gone completely! And it didn´t change my very problem with the vanishing special pages edit on save.
So I thought, that didn't help me, must be something else.

But ok, I tried again, maybe I did something wrong... But the same again.
In the error log I found now:
Quote:PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442

And this time I checked the warnings in debug mode again: You are right, the constructor message has gone, but the message instead of the navigation is still the same.

Just the browsers console tells me something new:
Quote:Uncaught TypeError: Cannot read property 'validation-failed' of null
at Object.<anonymous> (edit.php?id=diverse:703)
at n (jquery.min.js?v=1.7.1:2)
at Object.fireWith [as resolveWith] (jquery.min.js?v=1.7.1:2)
at w (jquery.min.js?v=1.7.1:4)
at XMLHttpRequest.d (jquery.min.js?v=1.7.1:4)

So does it point to a jquery (version-) problem?

(and by the way: not only on php.net they say about unsupported old php versions "you should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities. ")

Thanx for you help!

PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
Reply
Have the problems been resolved in the admin or not?
Reply
(2018-08-18, 15:18:05)Bigin Wrote: Have the problems been resolved in the admin or not?

No, they have not, what ever I did and changed. That´s why I am still searching for a solution. Because the website/frontend is working fine, despite the warnings in debug mode.

Quote:And it didn´t change my very problem with the vanishing special pages edit on save.
Quote:I tried again, maybe I did something wrong... But the same again.
Reply
I ask because this error message you showed:
Code:
PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
... has nothing to do with saving a page in the admin, so you're either not telling the correct messages or it's not a plugin issue.
Reply
(2018-08-20, 19:05:57)Bigin Wrote: I ask because this error message you showed:
Code:
PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
... has nothing to do with saving a page in the admin, so you're either not telling the correct messages or it's not a plugin issue.

I did´t know where the error logs are, before sending the debug messages. but this was the only new message I found.
Below this is my error log. New to you is only the message about gzip. I tried to get running two versions of jquery then, and this seemed to conflict with gzip. So I deactivated it, and still it is. The idea with the two jqueries was not important, so I stoped this. I´m using only 1.11.1 now.
As i did before all this! And the gzip-jquery thing was after having seen the vanishing special pages problem for the first time. So it does't seem to be relevant. And the backend/admin is loading jquery 1.7 anyway - Or could there be a problem with jquery 1.7 and php7?

Quote:[16-Jul-2018 12:21:18 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/.sites/299/site5274122/web/plugins/GZipIt.php on line 32
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Notice: ob_start(): failed to create buffer in /home/.sites/299/site5274122/web/plugins/GZipIt.php on line 32
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:21:34 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:41 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:26:54 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[16-Jul-2018 12:34:19 Europe/Amsterdam] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 440
[17-Jul-2018 12:10:36 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 349
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Jul-2018 12:10:43 Europe/Amsterdam] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:07 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 219
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
[17-Aug-2018 16:41:12 Europe/Vienna] PHP Notice: Trying to get property 'nopage' of non-object in /home/.sites/299/site5274122/web/plugins/i18n_navigation/frontend.class.php on line 442
Reply
But these are all old messages. Delete your log file and try to save the page, then show the messages here again.
Reply
Wink 
(2018-08-20, 21:36:58)Bigin Wrote: But these are all old messages. Delete your log file and try to save the page, then show the messages here again.

Sorry, as there were several dates, I thought it would be added, if there was something new Angel

Now there is the 349line constructor message again (you remember i can't do/keep it, as it breaks the navi.
And ther is this new message:
Quote:[20-Aug-2018 13:59:25 Europe/Amsterdam] PHP Notice: A non well formed numeric value encountered in /home/.sites/299/site5274122/web/verwaltung/inc/basic.php on line 1198
(verwaltung is my admin)

and this is the code of basc.php (in case it changes)

function toBytes($str){
$val = trim($str);
$last = strtolower($str[strlen($str)-1]);
switch($last) {
case 'g': $val *= 1024;
case 'm': $val *= 1024; // this is line 1198
case 'k': $val *= 1024;
}
return $val;
}
Reply
This message has nothing to do with this plugin, it is a GS message, it interrupts the saving process like I told you before. This GetSimple version does not run with PHP 7.1.

You can fix the function as follows if you want:

Code:
$val = (int) trim($str);

I recommend to change the PHP version to 5.6 this will solve that issues.
Reply




Users browsing this thread: 2 Guest(s)