• Resolved cortlieb

    (@cortlieb)


    After I have switched the website to PHP 8.0 (from 7.4) it shows only a white screen. The back end is still reachable.
    When switching back to PHP 7.4 everything is OK again.
    After enabling debug messages, here is what I get.
    Sounds to me, as if there is a PHP 8.0 issue in Editor Plus.
    Any advice?

    Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /var/www/wp-content/plugins/editorplus/includes/utils.php:172 Stack trace: #0 /var/www/wp-content/plugins/editorplus/includes/utils.php(392): editorplus_convert_position_to_percentage(‘NaN’) #1 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php(145): editorplus_background_convert(Array) #2 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php(62): EditorPlus_Styles_Generator->get_block_styles(Array, ‘eplus-styles-ui…’) #3 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-manager.php(216): EditorPlus_Styles_Generator->generate_styles_from_blocks(Array) #4 /var/www/wp-content/plugins/editorplus/includes/class-editorplus-styles-manager.php(40): EditorPlus_Styles_Manager->render_styles() #5 /var/www/wp-includes/class-wp-hook.php(308): EditorPlus_Styles_Manager->{closure}(”) #6 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #7 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /var/www/wp-includes/general-template.php(3049): do_action(‘wp_head’) #9 /var/www/wp-content/themes/astra/header.php(31): wp_head() #10 /var/www/wp-includes/template.php(783): require_once(‘/var/www/wp-con…’) #11 /var/www/wp-includes/template.php(718): load_template(‘/var/www/wp-con…’, true, Array) #12 /var/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #13 /var/www/wp-content/themes/astra/page.php(20): get_header() #14 /var/www/wp-includes/template-loader.php(106): include(‘/var/www/wp-con…’) #15 /var/www/wp-blog-header.php(19): require_once(‘/var/www/wp-inc…’) #16 /var/www/index.php(17): require(‘/var/www/wp-blo…’) #17 {main} thrown in /var/www/wp-content/plugins/editorplus/includes/utils.php on line 172

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter cortlieb

    (@cortlieb)

    Here is an additional information, maybe it can help to analyse the issue:
    Even after switching back to PHP 7.4, with debug messages still activated, I receive a warning on the home-page:
    Warning: A non-numeric value encountered in /var/www/wp-content/plugins/editorplus/includes/utils.php on line 172

    Plugin Support ather16

    (@ather16)

    Hey,

    Thank you for reaching out to us. We’re looking into it, however, we were unable to replicate this issue on our end. It would be great if you can provide us with some more information to replicate this issue (like the styles you’ve particularly used).

    Thanks

    Thread Starter cortlieb

    (@cortlieb)

    Sure, I can try to provide more information.
    Anyhow, can we try to narrow it a bit down?
    I guess I used a lot of styles on all the blocks forming a page.
    Is there something in particular you are interested in?
    I have some PHP skills, so I can look a bit deeper, when you tell me what to look for.

    Thread Starter cortlieb

    (@cortlieb)

    @ather16, can you please provide additional input what to look for to find the issue?

    Thanks.

    Plugin Support ather16

    (@ather16)

    Hey,

    I think it would be great if you can create a staging site with editorplus plugin, replicating this particular issue on the staging site. As we were unable to replicate this on our end.

    Thanks

    Thread Starter cortlieb

    (@cortlieb)

    Sorry, for some reason I haven’t received a notification about your answer, hence I’m answering with delay.
    Not sure if I understand your request. Since creating a staging site at another place will cause some effort, I would like to understand, what you really need.
    If I create a staging site, showing (in best case) the same effect I’m seeing already – how will it help you to find the root cause?

    Thread Starter cortlieb

    (@cortlieb)

    Hey @ather16 , do you have an answer for me?
    I’m still not able to switch to PHP 8.0, but I think I should not wait too long to do so.

    Thanks
    Christian

    Thread Starter cortlieb

    (@cortlieb)

    Since time became short I dug deeper on my own.
    It turned out that the the following setting for a Group-block was the issue:
    Group-Block/Settings/Frame/Background
    There was an image set as background with the following settings:
    Left: 100%
    Size: Contain
    Repeat: None
    Attachment: Scroll
    Placement: Back

    I removed the background image and placed it again with the exact same settings –> issue gone. I can use PHP 8.0 now.

    Though the issue is solved now, I have to admit, that the slow support response doesn’t increase my trust in the plugin to use it again in coming projects.

    RaHa

    (@ralphhahnnet)

    I removed the background image and placed it again with the exact same settings –> issue gone. I can use PHP 8.0 now.

    What does this have to do with PHP 8.0?
    I believe the Editor Plus Toolkit has several problems and is unfortunately not suitable for use. I posted several errors here, no reaction from the author. Unfortunately, my “By me a coffee” campaign didn’t help either.
    Even if the support can’t find the errors on theirs pages (which suggests an excuse), they are there on my live pages. It’s a pity really, I’ll have to look for another tool.

    • This reply was modified 1 year, 4 months ago by RaHa.
    • This reply was modified 1 year, 4 months ago by RaHa.
    Plugin Author Munir Kamal

    (@munirkamal)

    @ralphhahnnet

    I have recently addressed all of your tickets. I acknowledge that you created three consecutive tickets, and I apologize for the slight delay in response due to the EiD holidays. Within a three-day timeframe, our response was still reasonably prompt. It is important to note that what you perceive as errors may actually be CSS conflicts with other plugins or themes. To effectively debug and troubleshoot, providing a live page link would greatly assist us in identifying the root cause.

    Additionally, I want to express my gratitude for the $5, but I hope you understand that this amount is far from sufficient to cover even the basic support ticket responses, let alone the costs associated with developing and maintaining this plugin.

    Nonetheless, I understand your frustration and the inclination to criticize a product. If our tool does not meet your requirements adequately, I encourage you to explore alternative options that better suit your needs. We appreciate your feedback and are continuously striving to improve EditorPlus, but we sure take more time now for updates than before due to lack of availability.

    RaHa

    (@ralphhahnnet)

    I think I delivered 10 coffees in euros, of course without any claim and even before realizing the problems. And I want to use the tool! If the faults are only with me, then I have to be content with that.

    https://schwiering-stiftung.de is live. If the page is called up in the browser, you can see the CCS used and the plugins that could interfere. However, I only use Editor-Plus plugin.

    • This reply was modified 1 year, 4 months ago by RaHa.
    Plugin Author Munir Kamal

    (@munirkamal)

    I think I delivered 10 coffees in euros, of course without any claim and even before realizing the problems.

    I just verified, and it’s actually $25, not the equivalent of 10 coffees. While I appreciate the gesture, please understand that such donations aren’t sufficient to maintain and support these projects even partially. We contribute to give back to the community, not for these donations. I’m sharing this from a developer’s perspective since you mentioned the donation you made.

    RaHa

    (@ralphhahnnet)

    Sorry I will correct that. 10 went to Let’s Encrypt. I’ll give 5 more then for Editor-Plus.

    Plugin Author Munir Kamal

    (@munirkamal)

    Hi,

    We’ve fixed the issues with Editor Plus in the latest update that was released today. Please update the plugin and test it again on your website.

    Thank you for your patience and support.

    Best regards,
    Munir

    RaHa

    (@ralphhahnnet)

    ????????????

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Crash after switching to PHP 8.0’ is closed to new replies.