• Resolved Lenne86

    (@lenne86)


    Hello,
    I’m using Divi builder inside my website. Since the latest updates of Perfect brands I had problems with shortcodes. I replaced the carousel in my homepage with a manual list of the best brands, but it seems I can’t make the brands list shortcode working inside a wordpress pages. It always crashes it with a critical error or a 500 error message.

    I tried using your shortcode as you write in on your website

    [pwb-all-brands per_page="10" image_size="thumbnail" hide_empty="true" order_by="name" order="ASC" title_position="before"]

    and it returns a critical error. I checked my wordpress debug log and the error is (this is all the errors returned while checking the page once):

    [16-Nov-2022 12:05:29 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:29 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:29 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:30 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for loop includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:30 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for mousewheel includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:30 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for auto_speed includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:30 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for pause_slider includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:30 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:34 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:34 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:34 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:35 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:35 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:39 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:40 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:40 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:40 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:40 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:44 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:44 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:45 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:45 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:45 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:46 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:48 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:51 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:51 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:51 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:52 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:53 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:54 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:55 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for loop includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:55 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for mousewheel includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:55 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for auto_speed includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:55 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for pause_slider includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:05:57 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:57 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:57 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:58 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:59 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:59 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:05:59 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:01 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:02 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:02 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:02 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for loop includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:02 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for mousewheel includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:02 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for auto_speed includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:02 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for pause_slider includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:02 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:03 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:03 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:06 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:08 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:08 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:08 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:08 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:11 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:12 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for loop includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:12 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for mousewheel includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:12 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for auto_speed includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:12 UTC]  .../builder/class-et-builder-element.php:851  ET_Builder_Element::__construct():
    You're Doing It Wrong! Setting definition for pause_slider includes deprecated parameter: 'depends_default'. Use 'show_if' instead.
    
    [16-Nov-2022 12:06:12 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:13 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:14 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:14 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:14 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:15 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:15 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:17 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:20 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:20 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:20 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:20 UTC] PHP Fatal error:  Out of memory (allocated 1006125056) (tried to allocate 528384 bytes) in mywebsite/wp-includes/class-wpdb.php on line 2154
    [16-Nov-2022 12:06:20 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:22 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:24 UTC] PHP Fatal error:  Out of memory (allocated 1396211712) (tried to allocate 1052672 bytes) in mywebsite/wp-includes/class-wpdb.php on line 2154
    [16-Nov-2022 12:06:24 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:25 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:25 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:25 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:26 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:30 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:30 UTC] PHP Fatal error:  Out of memory (allocated 1387827200) (tried to allocate 2097160 bytes) in mywebsite/wp-includes/class-wpdb.php on line 2885
    [16-Nov-2022 12:06:31 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:31 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:31 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:34 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:37 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:37 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:37 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:38 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:38 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:42 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:42 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:42 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:42 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:43 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:46 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:47 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:48 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:48 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:48 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:52 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:54 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:54 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:54 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:56 UTC] protocol error, got 'E' as reply-type byte
    
    [16-Nov-2022 12:06:58 UTC] protocol error, got 'E' as reply-type byte
Viewing 1 replies (of 1 total)
  • Plugin Support jmatiasmastro

    (@jmatiasmastro)

    @lenne86 Hi Mate !

    Please share your PHP error log details

    PHP stores error logs in /var/log/apache2 if PHP is an apache2 module. Shared hosts are often storing log files in your root directory subfolder.

    If you’re using cPanel, the master log file you’re probably looking for is stored (by default) at: /usr/local/apache/logs/error_log

    If you’re not sure where to find PHP error logs please contact your hosting provider.

    You can use this tool to easily copy and paste here https://pastebin.com/

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes crashes my website’ is closed to new replies.