Feed Genie Support Product Page

This topic is locked
This topic was archived by Teodor Kuduschiev on 12/3/2022 11:43:01 AM
Under investigation

Feed Genie is not working,

Reported 12 Sep 2013 08:42:46
5
have this problem
12 Sep 2013 08:42:46 anton staartjes posted:
Feed Genie is not working, I get 'Fatal error: 'break' operator with non-constant operand is no longer supported' when testing it.

Anton

Replies

Replied 12 Sep 2013 08:49:16
12 Sep 2013 08:49:16 Teodor Kuduschiev replied:
Hello,

Please provide a link to the feed you are using, as well as a link to your page.
Replied 12 Sep 2013 09:06:31
12 Sep 2013 09:06:31 anton staartjes replied:
Hello Teodor

The page URL is www.kunstzyde.com/test/testfeed.php
The complete message on my MAMP test server is:
Fatal error: 'break' operator with non-constant operand is no longer supported in /Applications/MAMP/htdocs/kunstzyde/ScriptLibrary/XPath.class.php on line 3773

The Link to the feed is: gdata.youtube.com/feeds/api/videos?q=The Vagary&time=all_time&orderby=relevance&v=2&max-results=20

Is this the information you need?

Greetings:
Anton
Replied 12 Sep 2013 09:12:30
12 Sep 2013 09:12:30 Teodor Kuduschiev replied:
Are you using the Youtube Video Search Feed type, with a search phrase: The Vagary ?
If yes - it is all okay here.
What is your PHP version?
Replied 12 Sep 2013 15:48:34
12 Sep 2013 15:48:34 anton staartjes replied:
Hello Teodor,

My PHP version in MAMP is 5.4.1

Replied 12 Sep 2013 15:49:48
12 Sep 2013 15:49:48 Teodor Kuduschiev replied:
So, are you using the Youtube Video Search Feed type, with a search phrase: The Vagary ?
Replied 12 Sep 2013 15:55:58
12 Sep 2013 15:55:58 anton staartjes replied:
That's right, I see a fatal error all the time on my testserver
Replied 14 Sep 2013 14:10:08
14 Sep 2013 14:10:08 anton staartjes replied:
Hello Teodor
Because of the 'fatal error' on my test server i stopped working with Feed Genie. The fatal error only shows with PHP version 5.4.4, my provider uses 5.3 and there is no fatal error.
When the providers update to PHP 5.4 we're in trouble with Feed Genie
Replied 16 Sep 2013 08:22:26
16 Sep 2013 08:22:26 Teodor Kuduschiev replied:
Hello Anton,

We are currently checking the issue.
Replied 06 Nov 2013 19:28:24
06 Nov 2013 19:28:24 Kevin Moore replied:
I too have a similar issue. My hosting provider upgraded to PHP 5.4 ... now a WordPress feed I have no longer works.
Replied 01 Jul 2014 03:37:15
01 Jul 2014 03:37:15 John Harwood replied:
I am having the same type of errors since PHP was updated to v5.4.29 from a 5.3 version! I see this is a fairly old thread ... what was the resolution?

My errors are:

Fatal error: 'break' operator with non-constant operand is no longer supported in server-path/ScriptLibrary/XPath.class.php on line 3773

(I took out the full server path)

Regards,
John
Replied 01 Jul 2014 13:58:48
01 Jul 2014 13:58:48 Kevin Moore replied:
Hello John.
I don't believe there has been a resolution yet.
Replied 16 Jul 2014 18:29:30
16 Jul 2014 18:29:30 Daryl Toogood replied:
I have the same problem as John!
Replied 17 Jul 2014 01:33:51
17 Jul 2014 01:33:51 John Harwood replied:
Thanks for noting that here Daryl ... perhaps someone will please actually complete the "investigation"!

DMX please! I have quite a lot of your software and it is not inexpensive but more important, it is used in live website situations that make us look very foolish when errors appear instead of former good functionality. It is not always easy to remove the functionality showing errors without spending a great deal of time! If I use your extensions to help me build something it needs to keep working or it is fundamentally worthless.

Please advise regarding this Feed Genie problem.

(oh, I am only a "newbie" on this forum because I don't ask a lot of questions and have not had many problems in the past ... not because I'm a new customer!)
Replied 17 Jul 2014 13:09:17
17 Jul 2014 13:09:17 Teodor Kuduschiev replied:
Hi all,
There is an updated version of: XPath.class.php that will be included in the upcoming update of Feed Genie. Meanwhile you can download and replace the current one with this: raw.githubusercontent.com/hugokernel/Php.XPath/master/XPath.class.php - this will fix your issues.
Replied 18 Jul 2014 14:07:20
18 Jul 2014 14:07:20 Kevin Moore replied:
Thank you Teodor, I will check it out.
Replied 18 Jul 2014 17:23:12
18 Jul 2014 17:23:12 John Harwood replied:
Thanks Teodor ... that fixed the initial error. The feeds now show but a different error is above them:

Strict Standards: usort() expects parameter 2 to be a valid callback, non-static method feedNodeObj::cmp_publishedDate() should not be called statically in /home/day100/public_html/ScriptLibrary/incFeedGenieClass.php on line 607

Suggestion?

Regards,
John
Replied 21 Jul 2014 08:18:34
21 Jul 2014 08:18:34 Teodor Kuduschiev replied:
Hello John,
In your php.ini change
error_reporting value to:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
If you don't have access to the php.ini, you can potentially put this in your .htaccess file:
php_value error_reporting 30711
If you don't have access to the .htaccess file or it's not enabled, you'll need to put this at the top of the PHP section of your page:
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT );
Replied 22 Jul 2014 02:57:32
22 Jul 2014 02:57:32 John Harwood replied:
Many thanks Teodor ... I will try these options starting with having our server manager update the PHP.ini file.

Regards,
John

Replied 27 Nov 2015 21:17:08
27 Nov 2015 21:17:08 Lar Ro replied:
The XPath.class.php and error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT );
solutions above seem to continue to work on PHP 5.5.x too.

Wish you would compile the latest XPath.class.php into the FeedGenie 1.06, which still prints out v1.05 when used.

Thanks.
This reply was removed on 12/3/2022 11:42:58 AM.
See the changelog

Reply to this topic