WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

#1 27.07.2019 18:02:34

foxlake
Mitglied

Seo tool not working after update to 1.4

The Seo tool does not work after update from latest 1.3 to 1.4 ?

Fatal error: Uncaught Error: Call to a member function fetchRow() on null in /home//public_html/modules/wbSeoTool/functions.php:74 Stack trace: #0 /..................................................modules/wbSeoTool/functions.php on line 74

I did try to update and install this module again, but that didn't help.

greetings Foxlake

Offline

#2 28.07.2019 10:38:26

stefanek
Core-Team

Re: Seo tool not working after update to 1.4

OK, since (based on reaction to this thread) no one else seems to have a similar problem, could you please run a little test on your WBCE installation?

Install the code module (if it's not installed yet)
and then create a section with code module and insert the following code:

 // find out which MySQL Version is being run on the system

$sRunningMySqlVersion = $database->get_one("SELECT VERSION()");
                $bMySql_57 = version_compare( $sRunningMySqlVersion, "5.7.0", ">=");
                $sQueryModule = ( $bMySql_57 === true) ? "ANY_VALUE(s.`module`)" : "s.`module`";

debug_dump($sQueryModule);

Best regards,
Christian


“Success is the progressive realization of a worthy ideal.” ― Earl Nightingale

Offline

#3 28.07.2019 11:55:36

foxlake
Mitglied

Re: Seo tool not working after update to 1.4

WBCE Version: 1.4.0
Tag: 1.4.0
PHP Version: 7.1.30

I have the code2 module ? 
but with this code come's : ANY_VALUE(s.`module`)

called in file: WB_PATH /modules/code2/view.php(44) : eval()'d code
on line: 7

And by the way: I just did a update on a second site from latest 3 tot this, with same result.

Beitrag geändert von foxlake (28.07.2019 11:56:36)

Offline

#4 28.07.2019 12:28:57

stefanek
Core-Team

Re: Seo tool not working after update to 1.4

Hello foxlake.
The result tells me that your MySQL version is 5.7.0 or higher.

To be honest, I don't know precisely how to handle the issue over the distance without having access.
But you could try something out.

Go to this file wbce/modules/wbSeoTool/functions.php
and add (in line 55 where you now have a empty line) the following code:

                $sQueryModule = "s.`module`";

and please report back what the result was.

Best regards,
Christian


“Success is the progressive realization of a worthy ideal.” ― Earl Nightingale

Offline

#5 28.07.2019 16:36:11

foxlake
Mitglied

Re: Seo tool not working after update to 1.4

Hai Christian,

Thank you very much, that did the trick ! It works !

Greetings,  Niek / Foxlake

Offline

Liked by:

stefanek

#6 05.08.2019 15:08:40

erwin85
Mitglied

Re: Seo tool not working after update to 1.4

Thnx for the info, I had the same issue after update 1.4

Offline

#7 06.08.2019 14:07:45

foxlake
Mitglied

Re: Seo tool not working after update to 1.4

Looking ad more in this part , I see there is also something with User Search and Search Tools in the 'Beheertools'

: No such file or directory in /home/..../domains/warmtepomp-weetjes.nl/public_html/admin/admintools/tool.php on line 51

both of the tools come with this.

Offline

#8 06.08.2019 14:17:41

florian
Administrator

Re: Seo tool not working after update to 1.4

User Search has been replaced bei "Account and Signups configuration" Admin Tool, please go to Add-Ons > Advanced > Reload Modules. The entry for User Search will be then removed (which actually should have been happenig during the update, but did not happen unfortunately)
Reload Modules

Offline

#9 06.08.2019 14:24:35

foxlake
Mitglied

Re: Seo tool not working after update to 1.4

Yess .. thank you !   
thumb_up

Offline

Fußzeile des Forums

up