• Resolved corinnespi

    (@corinnespi)


    Hello,
    In the backend from this website, I have this error. In front end, it seems I cannot go with the mous to change the position.

    Warning: The magic method Singleton::__sleep() must have public visibility in /home/clients/88e923513e804d37618b05326528a44c/sites/gite-vals-les-bains.fr/wp-content/plugins/wpvr/admin/views/class-wpvr-singleton.php on line 75

    Warning: The magic method Singleton::__wakeup() must have public visibility in /home/clients/88e923513e804d37618b05326528a44c/sites/gite-vals-les-bains.fr/wp-content/plugins/wpvr/admin/views/class-wpvr-singleton.php on line 88

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter corinnespi

    (@corinnespi)

    Thanks for you help

    Hi @corinnespi ,

    We’re really sorry that you’re facing this issue.

    You see, we have just released a large update of the plugin.

    The entire plugin was refactored.

    And some of our users faced this same issue.

    Here is how to solve it:

    -> On your WPVR dashboard, go to the Tours list.

    -> Open the tours one by one and update them.
    You don’t need to make any changes, just update them.

    -> Clear cache and reload the pages where you’ve published the tours.

    The issue should be resolved after that.

    Please let us know if you’re still facing the issue after that.

    Regards,

    I have same issue and I didn’t expect much, but tried the procedure above. I run on php 8 and since the 8 update most of the magic methods must be declared as public. https://www.php.net/manual/en/language.oop5.magic.php

    Thread Starter corinnespi

    (@corinnespi)

    Thanks for your answer @jahirchowdhury and @patryk1990
    I did what you suggested, and I looked on the public visibility of the tour. It is ok, even one of my page is closed with a password, but it is not the tour that is non public.
    I still have the error in the backend
    od Singleton::__sleep() must have public visibility in /…/wp-content/plugins/wpvr/admin/views/class-wpvr-singleton.php on line 75

    Warning: The magic method Singleton::__wakeup() must have public visibility in /…wp-content/plugins/wpvr/admin/views/class-wpvr-singleton.php on line 88

    And I see also this error : Warning: Undefined variable $autoplay_bg_music in …./wp-content/plugins/wpvr/admin/classes/class-wpvr-scene.php on line 1541
    There is no music on these tours.

    I can confirm the issue is still there in the admin area after updating to 8.0.1.
    Warning: The magic method Singleton::__sleep() must have public visibility in .../app/public/wp-content/plugins/wpvr/admin/views/class-wpvr-singleton.php on line 75

    Hello @corinnespi , @creativeslice , and @patryk1990 ,

    Thank you for your patience while we took the time to reply.

    I’ve already informed our developers about this.

    We don’t have full compatibility with PHP 8 yet.

    We’ll try to release a compatible version on our next update or at least make this method public, so your issues are resolved.

    Meanwhile, let us know if you face any other issues with the plugin.

    Regards,

    Jahir Chowdhury

    (@jahirchowdhury)

    Hi @creativeslice , @corinnespi , and @patryk1990 ,

    Thank you for your patience.

    We have just released an update of the plugin with compatibility with PHP 8.

    Please update your plugin versions and see if it’s working now.

    Let us know if you face issues regarding this.

    Regards,

    Creative Slice

    (@creativeslice)

    Thank you Jahir, this fixed the issue and we’re now able to load the gutenberg block editor even with WPVR activated!

    Jahir Chowdhury

    (@jahirchowdhury)

    Hi @creativeslice ,

    Thank you for letting us know.

    I’m marking this thread as resolved now.

    Feel free to open another thread if you face any other issues with the plugin.

    Have a great day!

    Regards,

    Thread Starter corinnespi

    (@corinnespi)

    Great thanks ! Yes it is working !
    Best regards
    Corinne

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error : The magic method Singleton’ is closed to new replies.