Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter Oliver

    (@oliverseimo)

    Well, update_post_meta() did work, I just had a syntax:

    For Example:

    Full Day Event for today:

    update_post_meta( ID, 'event_begin', '2020-10-20 00:00:00' );
    update_post_meta( ID, 'event_end', '2020-10-20 00:00:00' );
    Thread Starter Oliver

    (@oliverseimo)

    Adding the Section with the Include-Shortcode for pages did not work. It just added a blank section:
    do_shortcode("[kc_row __section_link='431' __section_title='Name' _id='382019'][/kc_row]");

    I also manually included all neccessary scripts and styles to display this section before adding it.

    Thread Starter Oliver

    (@oliverseimo)

    Thank you very very much for your comment and wonderfully working code example!

    I did not completely get how it works yet but I will find out. I didn’t use the admin_post function before.

    Thank you also for the sanitizing hint.

    You helped me a lot,
    Oliver

    Oliver

    (@oliverseimo)

    Writing this code in your custom css will remove the left space:

    .crt-side-box-on .crt-container-sm {
        margin-left: 0 !important;
    }

    You can insert custom CSS via “Customizer” in the Admin Bar.

    What theme are you using? Is it a free theme or did you buy it?

    • This reply was modified 7 years, 7 months ago by Oliver.
    Oliver

    (@oliverseimo)

    Maybe changing the permalink settings to something else and then back to the old settings might do the trick.

    Thread Starter Oliver

    (@oliverseimo)

    256M is the local value and the master value is 69M, I got it.

    Thank you for your assistance and have a nice day!

    Thread Starter Oliver

    (@oliverseimo)

    You are right.
    Sorry for accusing your plugin to be the problem.

    But shouldn’t PHP memory limit 256M not be enough for operating 20 plugins at once?

    Thread Starter Oliver

    (@oliverseimo)

    I do not have any problems when i try to translate another plugin.

    When I enable debug mode I get loads of warnings and my site isn’t even loading. It seems to be a theme-related problem but I have absolutely no idea what these warnings mean:

    Deprecated: Function create_function() is deprecated in /home/.sites/59/site2642/web/17/wp-content/themes/healthflex/features/widget/aboutus/widget-aboutus.php on line 18 Deprecated: Function create_function() is deprecated in /home/.sites/59/site2642/web/17/wp-content/themes/healthflex/features/widget/contactforms/widget-contactforms.php on line 18 Deprecated: Function create_function() is deprecated in /home/.sites/59/site2642/web/17/wp-content/themes/healthflex/features/widget/flickr/widget-flickr.php on line 18 Deprecated: Function create_function() is deprecated in /home/.sites/59/site2642/web/17/wp-content/themes/healthflex/features/widget/latestnews/widget-latestnews.php on line 18 Deprecated: Function create_function() is deprecated in /home/.sites/59/site2642/web/17/wp-content/themes/healthflex/features/widget/multibox/widget-multibox.php on line 18 Deprecated: Function create_function() is deprecated in /home/.sites/59/site2642/web/17/wp-content/themes/healthflex/features/widget/timetable/widget-timetable.php on line 18 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/.sites/59/site2642/web/17/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111 Fatal error: Allowed memory size of 72351744 bytes exhausted (tried to allocate 20480 bytes) in /home/.sites/59/site2642/web/17/wp-content/plugins/plethora-featureslib/features/module/wpless/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php on line 1839 Fatal error: Allowed memory size of 72351744 bytes exhausted (tried to allocate 20480 bytes) in /home/.sites/59/site2642/web/17/wp-includes/plugin.php on line 449

    Thread Starter Oliver

    (@oliverseimo)

    When I try to save a Woocommerce-Language-File
    Provide the following text when reporting a problem:
    –8<–

    ——

    Thread Starter Oliver

    (@oliverseimo)

    This appears in the Network-Inspector after trying to save:
    Name: admin-ajax.php
    Status: 500
    Type: xhr
    Initiator: load-scripts.php

    I do also have an internal error when I try to change a woocommerce language file within Loco Translate.

    WORDPRESS INSTALLATION
    WP Version 4.9.4
    Permalink Structure /%postname%/
    Parent Theme HealthFlex 1.5.1
    Active Theme HealthFlex Child
    Show On Front page
    Page On Front Home (#2)
    Page For Posts Aktuelles (#540)
    Table Prefix 4 ( acceptable )
    WP_DEBUG Disabled
    WP_MEMORY_LIMIT 40M
    WP_MAX_MEMORY_LIMIT 256M
    WORDPRESS PLUGINS
    Active plugins Add Admin CSS: 1.6
    Adminimize: 1.11.4
    BackWPup: 3.4.4
    Category Posts Widget: 4.8.2
    Contact Form 7: 5.0
    Contact Form 7 Conditional Fields: 1.3.4
    Plethora Features Library: 1.6.0
    Simple CSS: 1.1
    Timeline and History slider: 1.2.4
    TinyMCE Advanced: 4.6.7
    Ultimate Category Excluder: 1.1
    WooCommerce: 3.3.1
    WordPress Category Archive: 1.3.0
    WPBakery Visual Composer: 5.2.1
    WP Custom Widget area: 1.2.5
    WP Google Review Slider: 2.9
    WP Help: 1.5.3
    WP Real Media Library: 3.4.3
    Inactive plugins Loco Translate: 2.1.0

    SERVER SETUP
    PHP Version 7.2.1
    MySQL Version 50012
    Webserver Apache

    PHP CONFIGURATION
    Safe Mode No
    Memory Limit 69M
    Upload Max Size 200M
    Upload Max Filesize 200M
    Time Limit 38
    Max Input Vars 1000
    Display Errors True

    PHP EXTENSIONS
    cURL Supported
    fsockopen Supported
    SOAP Client Not Installed
    Suhosin Not Installed

    BROWSER INFO
    Browser Platform: Windows Browser Name: Chrome Browser Version: 63.0.3239.132 User Agent String: Mozilla/5.0 (Windows NT 10.0; Wi n64; x64) AppleWebKit/537.36 (KH TML, like Gecko) Chrome/63.0.323 9.132 Safari/537.36

    OTHER INFO & DIAGNOSTICS
    Uploads Directory Status Uploads directory is writable
    Memory Issues LESS compiling functionality usualy demands 40-80MBs of RAM. This might get even bigger, especially if you have installed several memory consuming plugins OR you have a PHP version earlier than 5.3 OR your website has a lot of traffic!
    Your installation has PHP ver. 7.2.1 and 69MB RAM ( php.ini value ) available. Memory is below the MAX threshold. You probably have to raise this limit*, especially if you plan to use several memory consuming plugins ( such as WooCommerce ). Insufficient memory resources can cause a fatal error on the frontend during the custom stylesheet compiling.
    * If you want to raise your memory limit, its always best to ask your hosting provider to do it for you. If you have the technical skills to do it yourself, make sure that the memory limit value set is actualy available to your hosting package. Raising memory from 128MB to 256MB is safe for an average website. Plethora Themes always suggests the latter.

    Thread Starter Oliver

    (@oliverseimo)

    Ok, I can send you the system-information of the site I’m working at.
    Is there any way to not post them here in public?

    Thread Starter Oliver

    (@oliverseimo)

    Yes.
    Safing changes of any kind don’t work on my site.

    But I can safe changes when disabling Loco translate and then activivate it again.
    I dont’t use the customizer very often therefore it is no big problem.

    Thread Starter Oliver

    (@oliverseimo)

    The WordPress Customizer Tool which is integrated in every WP-Installation.

    I researched my problem and it says that some plugins or themes may cause this problem.
    I installet the plugin wp healt check to manually enable all plugins and after enabling loco translate the customizer didn’t work anymore.

    Unfortunately I have no further information but the customizer works again after disabling loco translate.

    Thread Starter Oliver

    (@oliverseimo)

    Thank you again for your great and quick support.
    This is also a rare experience for me 🙂

    Thread Starter Oliver

    (@oliverseimo)

    😀

    But the plugin is required when the files are in wp-content/languages/loco/…

Viewing 15 replies - 1 through 15 (of 20 total)