• Resolved gadgetx

    (@gadgetx)


    Hi,

    Hope you are well. Great plugin. I’m testing it out and each time i send a chat message it goes to a blank white page but when i refresh my screen and go back to my chat list i can see the message was sent and received. My error logs indicate an issue in the form.php file. I have done your suggestion on updating the permalink structure from ‘settings > permalinks’ from the default one to ‘post name’ and still getting this blank white screen. How do i fix this?

    Thank you

    https://www.ads-software.com/plugins/wpchats-lite-private-messaging/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Ismail

    (@elhardoum)

    Hi! How has your day been so far? Hope you’re enjoying it

    Thanks for reaching out.

    I suspect that your send form is missing some inputs or not submitting properly. Can you try updating form.php file (located in core/ folder) with this latest file https://pastebin.com/CGiPtCgP from v2.0 (which will be released this week) ?

    Let me know how it goes.

    Thanks!

    Thread Starter gadgetx

    (@gadgetx)

    Hi,
    I’m doing well and my day was fine. Thank you for asking. Hope you’re enjoying the festive season.
    So I did as you said and updated the form.php and still getting the white blank screen. These are my error logs: wp-content/plugins/wpchats-lite-private-messaging/core/form.php
    PHP Warning: Invalid argument supplied for foreach() in wp-content/plugins/wpchats-lite-private-messaging/classes/wpchats.php on line 31
    PHP Fatal error: Using $this when not in object context in wp-content/plugins/wpchats-lite-private-messaging/classes/wpchats.php on line 67
    I hope this information helps a little.

    Merry Christmas in advance! ??

    Plugin Author Ismail

    (@elhardoum)

    Hi!

    Thank you so much! Merry Christmas I hope you’re having great times with the family..

    Thanks to your reports I have noticed that there’s a needed improvement in the main class file, and I am working on a new version already since the past week which of course contains a fix to these issues. The new version will include a lot more features such as translation ready and support RTL, extensible,..

    I hope you can wait up until it’s released (within this week max), and I’ll keep you posted. If you can’t wait then you might want to provide me a way to contact you and I’ll send you the plugin pack to solve those issues you’re reporting..

    Thank you, once again.

    Regards,
    Samuel

    Thread Starter gadgetx

    (@gadgetx)

    Hi Samuel,
    Merry Christmas and Happy New Year! I’ll definitely wait for your update release ?? the improvements sound fantastic. I hope it all goes well.

    Just out of curiousity, do you know anyone that can develop mobile apps?
    Good luck with your work.

    Regards

    Plugin Author Ismail

    (@elhardoum)

    Hi!!

    Thanks. Happy new year ??

    We have just submitted the new update, please see if the errors are still consisting and let us know how it goes.

    Yes there are many people available for that (Freelance, Volunteers) and you can post your question in this Facebook community group https://www.facebook.com/2204685680 or search for further groups or online forums.. I would be much glad to help but unfortunately mobile app development is upcoming in my list ??

    Have a nice day!!

    Samuel.

    Thread Starter gadgetx

    (@gadgetx)

    Hi Samuel,

    Hope you are well. Thank you for the update and information. I will definitely check out that facebook community. I updated the chat plugin but I still got this error log- wp-content/plugins/wpchats-lite-private-messaging/core/form.php
    PHP Fatal error: Using $this when not in object context in /wp-content/plugins/wpchats-lite-private-messaging/classes/wpchats.php on line 377
    it made my site have a 500 internal server error. I hope this log helps in making the chat work with no errors. Really excited to use it ??

    Regards
    Maria

    Plugin Author Ismail

    (@elhardoum)

    Hi Maria!

    Can you edit the plugin file through plugins > editor and edit classes/wpchats.php file, scroll down to line 376, and update these 2 lines of code from this:

    add_filter('wp_mail_from_name', function() {return $this->get_settings('mail_headers_from_name');});
    add_filter('wp_mail_from', function() {return $this->get_settings('mail_headers_from');});

    to this:

    add_filter('wp_mail_from_name', function($this) {return $this->get_settings('mail_headers_from_name');});
    add_filter('wp_mail_from', function($this) {return $this->get_settings('mail_headers_from');});

    Let me know how it goes.

    Thank you !!

    Thread Starter gadgetx

    (@gadgetx)

    Hi Samuel,

    I’ve tried your suggestion above still have the 500 internal server error but now on line 379. ??

    Regards
    Maria

    Plugin Author Ismail

    (@elhardoum)

    Hi Maria!

    That’s weird. Can you please update the entire classes/wpchats.php file with the code in this paste https://pastebin.com/EwhxmQ4K ?

    Sorry about you having this issue.

    Let me know how it goes.
    Samuel.

    Thread Starter gadgetx

    (@gadgetx)

    Hi Samuel,
    I don’t know why nothing seems to be working for me. I have completely deleted and reinstalled the lastest version but still get 500 internal error. Will you by any chance have time to help have a look? Also i was wondering if you would have sometime to help me with a bit of customization on my theme. I will pay for your services. Have a good day.

    Thank you
    Regards

    Plugin Author Ismail

    (@elhardoum)

    Hi Maria.

    Yes I will be glad to take a look.

    What theme is it? is it 100% GPL licensed? I can’t accept that payment offer as long as the theme is hosted over here (WP themes repository)..

    Have a great day!
    Samuel.

    I’ve got the same problem, but the messages get sent anyway.
    I’ve tried updating the two lines as you sggested, Samuel, but it gets me the same error everytime:

    PHP Fatal error: Using $this when not in object context in /wp-content/plugins/wpchats-lite-private-messaging/classes/wpchats.php on line 377

    Hi Samuel!

    Just a quick note – because I can’t edit my previous post – to let you know that I’ve installed the PRO package and that the problem has not presented itself again.

    I just got this error when sending a message with both an image and a link:

    Fatal error: Using $this when not in object context in /web/htdocs/www.flottastellareitaliana.it/home/fsi/wp-content/plugins/wpchats/classes/wpchats.php on line 1759

    On line 1759 of wpchats.php I have this:

    $ret .= '<div class="wpc-media-links"><a href="'.$m[1].'" download title="'.$this->translate(50).'"><i class="wpcico-download-cloud"></i>'. $this->translate(49) .'</a>';

    I couldn’t add any new message to the conversation, nor delete it, so I had to deleted the last message from the admin panel and now it works again.

    This is what I see from the deleted messages page in admin panel:

    Sistemato, anche se ho dovuto creare una singola immagine, perchè facendola composita come l\’originale metteva degli orrendi br subito dopo ogni \”riga\” di immagini, creando uno spazio bianco. La nuova immagine è questa: [img]https://i66.tinypic.com/sbinnq.jpg[/img] E il link relativo è [link]https://i66.tinypic.com/sbinnq.jpg(title)questo[/link]. I colori non li ho toccati, ma il giallo è veramente un pugno in un occhio.

    As you can see, there’s a (title) were the title of the link was supposed to be.

    Plugin Author Ismail

    (@elhardoum)

    @maria This should be resolved as of ver 2.1

    @jenny glad that you have opened your own support topic (https://www.ads-software.com/support/topic/2694205), we will continue from there.

    Marking as resolved. If you feel there is something more, kindly reply.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Blank white screen.’ is closed to new replies.