Create Account
Welcome, Guest
Username: Password: Remember me

TOPIC: PHP Warnings from Social Sharing after migration

PHP Warnings from Social Sharing after migration 5 years 2 months ago #6898

  • SForsgren
  • SForsgren's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 0
I am migrating my site from one location to another.
After migration to the new site, I get these errors on all my pages:

Warning: explode() expects parameter 2 to be string, array given in /home/bette75/public_html/plugins/system/javascriptsdk/javascriptsdk/helpers/kajssdkhelper.php on line 363

FYI - On the old site that worked, PHP error_reporting was 22527. On the new site that has the messages, it is 22519.

I tried to set the Joomla System Error Reporting to simple, but the messages are still present.
In order to make them go away, I have to set to None, but I don't want to leave it on None as I may miss other important information.

How do I address this? Since it is a warning and not a notice, I don't really want to just supress them, right?

I am on Social Sharing plugin version 4.2 with KA JavaScript SDK 4.0. After the SDK plugin was installed, it was disabled on the old site and the new site. I tried to enable on the new site but still got the same warnings.

Thank you in advance for your prompt assistance.

Best,
Scott
The topic has been locked.

Re: PHP Warnings from Social Sharing after migration 5 years 2 months ago #6904

  • zaheerkaka
  • zaheerkaka's Avatar
On a production site any warning and error messages should not be shown as they can help hackers.
The topic has been locked.

Re: PHP Warnings from Social Sharing after migration 5 years 2 months ago #6905

  • SForsgren
  • SForsgren's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 0
I still feel this is an error that I need to understand and fix. Why would it be showing these warnings when it did not show them on my other environment?

Warning: explode() expects parameter 2 to be string, array given in /home/bette75/public_html/plugins/system/javascriptsdk/javascriptsdk/helpers/kajssdkhelper.php on line 363

Warning: in_array() expects parameter 2 to be array, null given in /home/bette75/public_html/plugins/system/javascriptsdk/javascriptsdk/helpers/kajssdkhelper.php on line 368
Last Edit: 5 years 2 months ago by SForsgren.
The topic has been locked.

Re: PHP Warnings from Social Sharing after migration 5 years 2 months ago #6906

  • SForsgren
  • SForsgren's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 0
You can see this on my site here:

www.betterhealthguy-staging.com/index.php/feedback

Thanks again
The topic has been locked.

Re: PHP Warnings from Social Sharing after migration 5 years 2 months ago #6911

  • zaheerkaka
  • zaheerkaka's Avatar
Hi,

We are looking into this and will update soon.

Regards
The topic has been locked.

Re: PHP Warnings from Social Sharing after migration 5 years 2 months ago #6913

  • SForsgren
  • SForsgren's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 146
  • Karma: 0
Thank you for your reply. I am hoping to get my site live in the next week so appreciate your help in resolving this. Best
The topic has been locked.

Re: PHP Warnings from Social Sharing after migration 5 years 1 week ago #7043

Sometimes it happens. It create problem in transferring page from one location to another.
The topic has been locked.
Moderators: khawaib
Time to create page: 0.039 seconds
Website Security Test