MyBB Community Forums

Full Version: Google SEO 1.8.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
(2023-01-10, 01:53 PM)SvePu Wrote: [ -> ]
(2023-01-09, 10:50 PM)jkcool Wrote: [ -> ]Will below errors will be fixed too ?


Warning [2] Illegal string offset 'database' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'database' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'admin_dir' - Line: 153 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)

Sorry, I can't reproduce this issues on my test board with PHP 8.2....may be you have a problem with reading of config file.

Can you tell me how to fix those Warnings ?
I have same problem


Warning [2] Illegal string offset 'database' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 5.6.40 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 5.6.40 (Linux)
Warning [2] Illegal string offset 'database' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 5.6.40 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 5.6.40 (Linux)
Warning [2] Illegal string offset 'admin_dir' - Line: 153 - File: inc/plugins/google_seo/plugin.php PHP 5.6.40 (Linux)
(2023-04-20, 11:59 PM)jkcool Wrote: [ -> ]
(2023-01-10, 01:53 PM)SvePu Wrote: [ -> ]
(2023-01-09, 10:50 PM)jkcool Wrote: [ -> ]Will below errors will be fixed too ?


Warning [2] Illegal string offset 'database' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'database' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'admin_dir' - Line: 153 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)

Sorry, I can't reproduce this issues on my test board with PHP 8.2....may be you have a problem with reading of config file.

Can you tell me how to fix those Warnings ?

Try this: https://github.com/frostschutz/MyBB-Goog.../issues/82
But as I wrote on that page. The errors are gone, but it would be useful if someone else verified it
(2023-04-25, 06:17 PM)Fussil Wrote: [ -> ]
(2023-04-20, 11:59 PM)jkcool Wrote: [ -> ]
(2023-01-10, 01:53 PM)SvePu Wrote: [ -> ]
(2023-01-09, 10:50 PM)jkcool Wrote: [ -> ]Will below errors will be fixed too ?


Warning [2] Illegal string offset 'database' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'database' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'admin_dir' - Line: 153 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)

Sorry, I can't reproduce this issues on my test board with PHP 8.2....may be you have a problem with reading of config file.

Can you tell me how to fix those Warnings ?

Try this: https://github.com/frostschutz/MyBB-Goog.../issues/82
But as I wrote on that page. The errors are gone, but it would be useful if someone else verified it


Fixed. Thanks!
Hello...fresh install on 1.8.34 and I am getting this error on the forum home page:

Quote:Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/alpharomeo15/public_html/inc/plugins/google_seo/redirect.php:291 Stack trace: #0 /home/alpharomeo15/public_html/inc/class_plugins.php(142): google_seo_redirect_hook('') #1 /home/alpharomeo15/public_html/global.php(100): pluginSystem->run_hooks(Array) #2 /home/alpharomeo15/public_html/forumdisplay.php(24): require_once('/home/alpharome...') #3 {main} thrown in /home/alpharomeo15/public_html/inc/plugins/google_seo/redirect.php on line 291

Any ideas how to fix?
It looks like frostschutz fixed this in commit 370768 on GitHub. Maybe download the latest version from GitHub rather than using the Extend version.
Hey guys, I am getting an error when I try to visit the portal page on my site...  Here is the message it is displaying when the error pops up...

Quote: Fatal error: Uncaught TypeError: Unsupported operand types: null & mysqli_result in /home/alpharomeo15/public_html/inc/plugins/google_seo/url.php:619 Stack trace: #0 /home/alpharomeo15/public_html/inc/plugins/google_seo/url.php(887): google_seo_url_optimize(1, 1) #1 /home/alpharomeo15/public_html/inc/plugins/google_seo/url.php(1353): google_seo_url_cache(1, 1) #2 /home/alpharomeo15/public_html/inc/functions.php(6396): google_seo_url_profile(1) #3 /home/alpharomeo15/public_html/inc/functions.php(6464): get_profile_link(1) #4 /home/alpharomeo15/public_html/global.php(531): build_profile_link('RocketFoot', 1) #5 /home/alpharomeo15/public_html/portal.php(39): require_once('/home/alpharome...') #6 {main} thrown in /home/alpharomeo15/public_html/inc/plugins/google_seo/url.php on line 619

Looks like it is something to do with Google SEO but I have already gone through this and updated to all of the correct code!  Any ideas?
In line #619 of inc/plugins/google_seo/url.php, replace &= with =&.
(2023-07-03, 01:35 PM)Laird Wrote: [ -> ]In line #619 of inc/plugins/google_seo/url.php, replace &= with =&.

Perfect!  Thank you Laird for the help...this minor edit fixed it up!

Thanks again!
2020 There has been no update for a long time, but search engines like up-to-date plugins.
Don't be mad at me, I want MyBB to be better as good as WordPress.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25