Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • +1

    Did you ever find a solution to this?

    +1

    Weirdly, the white screen of death seemed to be caused by these two lines in the header:

    <meta content="<?php echo wpseo_get_value('metadesc'); ?>" name="dc.description" />
    <meta content="<?php echo wpseo_get_value('metakeywords'); ?>" name="keywords" />

    Removing them fixed it. It wasn’t a theme issue. Hopefully this might help someone else.

    +1

    Thread Starter sublimebydesign

    (@sublimebydesign)

    Thank you for resolving this; it’s useful to know there is a fixer plugin ??

    Thread Starter sublimebydesign

    (@sublimebydesign)

    I’ve hit ‘delete all accounts’ on the testing server, turned the debug switch on, which produced a lengthy listing, refreshed the page and noted that there were no errors or warnings displayed.

    Thread Starter sublimebydesign

    (@sublimebydesign)

    I tried ‘delete all accounts’ as per your instructions, and pushed to the server again, but received the following error messages. I had to deactivate the plugin, push, then reactivate again to get the site back from the white screen!

    Warning: fopen(C:/xampp/htdocs/opticolour/wp-content/plugins/content-aware-sidebars/content-aware-sidebars.php): failed to open stream: No such file or directory in /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php on line 4785
    
    Warning: fread() expects parameter 1 to be resource, boolean given in /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php on line 4788
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php on line 4791
    
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php:4785) in /homepages/29/d154852339/htdocs/alpha/wp-content/plugins/wp-advanced-pdf/wp-advanced-pdf.php on line 18
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php:4785) in /homepages/29/d154852339/htdocs/alpha/wp-login.php on line 396
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php:4785) in /homepages/29/d154852339/htdocs/alpha/wp-login.php on line 409
    Thread Starter sublimebydesign

    (@sublimebydesign)

    Yes, the file exists with 2366Kb size. As a workaround, I deactivated the plugin on localhost, ‘pushed’ to my /alpha test site, then activated the plugin. It is now working, but I’d like to know what the issue is if it’s something other than simple file corruption, as it will affect whether I use it on other sites. I hope you understand. Great idea for a plugin though ??

    Thread Starter sublimebydesign

    (@sublimebydesign)

    I should also add that if I disable every plugin except CAS, the error messages still remain. An additional message appears as they are being deactivated/activated:

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/29/d154852339/htdocs/alpha/wp-includes/functions.php:4785) in /homepages/29/d154852339/htdocs/alpha/wp-includes/pluggable.php on line 1210

    Thread Starter sublimebydesign

    (@sublimebydesign)

    Hi, Does your Custom Fields add-on have conditional logic built in? I would need to present different fields depending on the category selected.

    Thread Starter sublimebydesign

    (@sublimebydesign)

    Hi Greg,

    The above isn’t working on the required pages. ACF includes a tool for exporting field groups to PHP that generates code to paste into functions.php to register a local version of the selected field group(s): “A local field group can provide many benefits such as faster load times, version control & dynamic fields/settings”.

    I’ve exported one ACF field group as an example; perhaps you could let me know whether it’s likely that it could be adapted to integrate with WPAdverts and how to go about this? By integrate I mean these fields could appear on the add page, be submitted, save, appear on the edit page etc. ACF includes conditional logic on occasion. If this is very complicated/would need considerable further development work, just let me know; I don’t mean to overly tax you!

    if( function_exists('acf_add_local_field_group') ):
    
    acf_add_local_field_group(array (
    	'key' => 'group_58498525e4216',
    	'title' => 'Seller',
    	'fields' => array (
    		array (
    			'layout' => 'horizontal',
    			'choices' => array (
    				'Business' => 'Business',
    				'Charity' => 'Charity',
    				'Individual' => 'Individual',
    			),
    			'default_value' => '',
    			'other_choice' => 0,
    			'save_other_choice' => 0,
    			'allow_null' => 0,
    			'return_format' => 'value',
    			'key' => 'field_55796aea16b81',
    			'label' => 'Owner status',
    			'name' => 'owner_status',
    			'type' => 'radio',
    			'instructions' => 'Horse owner status - business, charity or private individual. The status you select will be shown in your advert. Choose Business if buying and selling horses is your profession, Charity if you are a UK registered charity, and choose Individual if you are neither. This information will be shown on the advert',
    			'required' => 1,
    			'conditional_logic' => 0,
    			'wrapper' => array (
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    		),
    		array (
    			'default_value' => '',
    			'maxlength' => '',
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'key' => 'field_557ee1588890f',
    			'label' => 'Business or charity name',
    			'name' => 'business_or_charity_name',
    			'type' => 'text',
    			'instructions' => 'Enter your business or charity name in full. This name will be shown on the advert',
    			'required' => 0,
    			'conditional_logic' => array (
    				array (
    					array (
    						'field' => 'field_55796aea16b81',
    						'operator' => '==',
    						'value' => 'Business',
    					),
    				),
    				array (
    					array (
    						'field' => 'field_55796aea16b81',
    						'operator' => '==',
    						'value' => 'Charity',
    					),
    				),
    			),
    			'wrapper' => array (
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'formatting' => 'none',
    		),
    		array (
    			'default_value' => '',
    			'min' => 1,
    			'max' => '',
    			'step' => '',
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'key' => 'field_557ee1a0a325b',
    			'label' => 'Charity number',
    			'name' => 'charity_number',
    			'type' => 'number',
    			'instructions' => 'UK Registered Charity number',
    			'required' => 1,
    			'conditional_logic' => array (
    				array (
    					array (
    						'field' => 'field_55796aea16b81',
    						'operator' => '==',
    						'value' => 'Charity',
    					),
    				),
    			),
    			'wrapper' => array (
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    		),
    		array (
    			'default_value' => '',
    			'maxlength' => 20,
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'key' => 'field_557edf8416bd0',
    			'label' => 'Evening phone number',
    			'name' => 'evening_phone_number',
    			'type' => 'text',
    			'instructions' => 'Evening contact telephone number. This information will be shown on the advert',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array (
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'formatting' => 'none',
    		),
    		array (
    			'default_value' => '',
    			'maxlength' => 20,
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'key' => 'field_557edfc597bab',
    			'label' => 'Mobile phone number',
    			'name' => 'mobile_phone_number',
    			'type' => 'text',
    			'instructions' => 'Enter your mobile phone number. This information will be shown on the advert',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array (
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'formatting' => 'none',
    		),
    		array (
    			'default_value' => '',
    			'maxlength' => '',
    			'placeholder' => 'https://',
    			'prepend' => '',
    			'append' => '',
    			'key' => 'field_561d066811b09',
    			'label' => 'Website address',
    			'name' => 'website_address',
    			'type' => 'text',
    			'instructions' => 'Your charity or business website address starting https://',
    			'required' => 0,
    			'conditional_logic' => array (
    				array (
    					array (
    						'field' => 'field_55796aea16b81',
    						'operator' => '==',
    						'value' => 'Business',
    					),
    				),
    				array (
    					array (
    						'field' => 'field_55796aea16b81',
    						'operator' => '==',
    						'value' => 'Charity',
    					),
    				),
    			),
    			'wrapper' => array (
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'formatting' => 'none',
    		),
    	),
    	'location' => array (
    		array (
    			array (
    				'param' => 'post_type',
    				'operator' => '==',
    				'value' => 'advert',
    			),
    		),
    	),
    	'menu_order' => 3,
    	'position' => 'normal',
    	'style' => 'seamless',
    	'label_placement' => 'top',
    	'instruction_placement' => 'label',
    	'hide_on_screen' => '',
    	'active' => 1,
    	'description' => '',
    ));
    
    endif;

    Thanks for your time taking a look at this for me.

    Thread Starter sublimebydesign

    (@sublimebydesign)

    Hi David,

    I followed instructions and installed the development version, and it’s working again! I can display 100 items quite promptly. The debug log isn’t showing anything MLA related. Thank you for fixing this so quickly. Much appreciated ??

    Thread Starter sublimebydesign

    (@sublimebydesign)

    Pasted from Woocommerce system status for plugin list:

    
    ### WordPress Environment ###
    
    Home URL: https://localhost/rodnaylorrefresh
    Site URL: https://localhost/rodnaylorrefresh
    WC Version: 2.6.8
    Log Directory Writable: ?
    WP Version: 4.6.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_GB
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24
    PHP Version: 5.6.24
    PHP Post Max Size: 64 MB
    PHP Time Limit: 1200
    PHP Max Input Vars: 1000
    cURL Version: 7.49.1
    OpenSSL/1.0.2h
    
    SUHOSIN Installed: –
    Max Upload Size: 20 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.8
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    
    ### Active Plugins (30) ###
    
    Advanced Custom Fields: by Elliot Condon – 4.4.11
    Allow PHP Execute: by sksdev – 1.0
    Auction Nudge: by Joseph Hawes – 4.3.5
    BulkPress: by Jesper van Engelen – 0.3.5
    Custom Field Bulk Editor: by SparkWeb Interactive
    Inc. – 1.9.1
    
    Duplicator: by LifeInTheGrid – 1.1.24
    Homepage Control: by WooThemes – 2.0.2
    Master Slider: by averta – 2.9.5
    Media Library Assistant: by David Lingren
    Fair Trade Judaica – 2.40
    
    oik: by bobbingwide – 3.0.2
    Redirection: by John Godley – 2.4.5
    Storefront Product Pagination: by WooThemes – 1.1.3
    Storefront Product Sharing: by WooThemes – 1.0.3
    Theme Customisations: by WooThemes – 1.0.0
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.12.29
    
    Utf8ize: by PressLabs – 1.1
    WooCommerce Product CSV Import Suite: by Automattic – 1.10.12
    Woocommerce Weight & Country Based Shipping: by Jeriff Cheng – 1.1
    WooCommerce: by WooThemes – 2.6.8
    WooSidebars: by WooThemes – 1.4.3
    WooCommerce Helper: by WooCommerce – 1.7.2
    WordPress Importer: by wordpressdotorg – 0.6.3
    Yoast SEO: by Team Yoast – 3.9
    WP Broken Link Status Checker: by Pau Iglesias
    SeedPlugins – 1.0.4
    
    WP Max Submit Protect: by Academe Computing – 1.1.2
    WP Migrate DB Pro Media Files: by Delicious Brains – 1.4.6
    WP Migrate DB Pro Tweaks: by Delicious Brains – 0.1
    WP Migrate DB Pro: by Delicious Brains – 1.7
    WP-Optimize: by Ruhani Rabin – 1.9.1
    WP-SpamShield: by Scott Allen – 1.9.9.8
    
    ### Settings ###
    
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: #490 - /shop/
    Basket: #7968 - /my-account/shopping-basket/
    Checkout: #7971 - /my-account/checkout/
    My Account: #7437 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Galleria
    Version: 1.0.1 – 2.2.8 is available
    Author URL: https://woothemes.com
    Child Theme: ?
    Parent Theme Name: Storefront
    Parent Theme Version: 1.5.0 – 2.1.6 is available
    Parent Theme Author URL: https://www.woothemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: galleria/woocommerce/archive-product.php
    

    > Can you match the date and time of the error log message to an attempt to change the Entries per page?

    I tried a couple of times, but didn’t get any error messages, so can’t verify your theory. Tried changing values in Settings; ditto. I’ll revert to the previous version.

    Thread Starter sublimebydesign

    (@sublimebydesign)

    It doesn’t work, but

    <?php acf_form(array(
    'post_id' => $_REQUEST['id'],
    'form' => false,
    'field_groups' => array(2090),
    )) ?>

    an array does. I’m not clear why.

    Thread Starter sublimebydesign

    (@sublimebydesign)

    > Does that mean that the submenu table shows ten items even if you change the value?
    Yes; I enter 20 or another value, click ‘apply’, and the screen refreshes to show 10 every time.

    > “Where-used database access tuning” and making sure all four options are set to “Disabled”
    Yes, all four options have always been disabled.

    > Did this problem just start with the new version?
    I’m afraid I don’t recall if I just updated it. I did run some plugin updates, so if you recently updated it, I would have run it in. Is there somewhere I can get the previous version? It’s a very useful plugin otherwise ??

    debug.log repetitively shows:
    [05-Dec-2016 16:08:54 UTC] PHP Notice: Undefined index: action in C:\xampp\htdocs\rodnaylorrefresh\wp-content\plugins\media-library-assistant\includes\mla-plugin-loader.php on line 125

    I’ve had a look through the library, but there isn’t anything obviously causing problems. It’s only photos, no video.

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