Forum Replies Created

Viewing 15 replies - 16 through 30 (of 206 total)
  • Thread Starter lernerconsulting

    (@lernerconsult)

    Yes, the “fatal error” went away when I installed the prior version. It brought the entire site down, so getting it running again was important.

    I was mistaken when I said that installing prior version fixed the problem; I forgot to activate the plugin. So, what worked was deleting the plugin. [see update below.]

    There is a stack trace in server logs:

    Stack trace:
    
    #0 /home/FOLDER/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php(893): Yoast\WP\SEO\Actions\Configuration\Configuration_Workout_Action->__construct(Object(Yoast\WP\SEO\Helpers\Options_Helper))
    
    #1 /home/FOLDER/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php(4276): Yoast\WP\SEO\Generated\Cached_Container->getConfigurationWorkoutActionService()
    
    #2 /home/FOLDER/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\W in /home/FOLDER/public_html/wp-content/plugins/wordpress-seo/src/actions/configuration/configuration-workout-action.php on line 47
    

    Update: Clearing Lightspeed cache for the site, the site works with wordpress-seo 18.9 So, now the problem is gone.

    I’d still suggest trapping that error, so it doesn’t produce a PHP Fatal Error bringing down the site.

    Update: I got what I wanted by editing the Modal settings:

    1) Button, Show Button: No (would be nice to have option to show only on wide screens, without CSS media query)

    2) Display Rules, Devices Control, Don’t Show on Screens: uncheck all

    Then having the link in the mobile or desktop site menu works, and link in the footer works.

    Scroll bar is hard to see on mobile, so I put a note at the top of my modal to scroll to see all.

    If you insert link for mobile menu (at least on my Android phone), tapping the link closes the mobile menu and the modal window never displays.

    I want the normal modal button not showing on mobile devices, since it covers text of my site, as visitors scroll.

    I need a button that gets inserted after the WordPress page heading; or a primary menu item that opens the modal in another tab of the phone browser; or maybe the menu item simply expands the hidden div that is already part of the page.

    Thread Starter lernerconsulting

    (@lernerconsult)

    Got it Working.

    I couldn’t trace what part of the CSP to modify.

    Put updates.sgvps.net in Each section of the CSP, in public_html/.htaccess and it was blocked.

    Firefox Developer Tools, and the Chromium Inspector, show a CSP for that file that is very different than I usually see; very different than what I had just been editing.

    Found public_html/wp-admin/.htaccess had a CSP, very incomplete, deleted it.

    Now Firefox and Chrome say a normal “connect-src” instead of failing “default-src”.

    Chromium Inspector says Refused to connect to 'https://updates.sgvps.net/supported-versions.json' because it violates the following Content Security Policy directive: connect-src

    Add updates.sgvps.net to the connect-src section and the plugin works as expected.

    The example above uses ‘smart double quotes’, so you can’t just paste them into your .htaccess file. That will give you a “500 Server Error”.

    Replace all the ‘left curly double quotes’ and all the ‘right curly double quotes’ with straight double quotes, the ” character usually two keys right of the L key on your keyboard.

    Thread Starter lernerconsulting

    (@lernerconsult)

    Security was blocking JavaScript files from ‘admin’ folders, in /wp-content/plugins/all-in-one-seo-pack/js/admin/

    example: /wp-content/plugins/all-in-one-seo-pack/js/admin/aioseop-quickedit.js

    Made an exception to that “block admin/” rule and AIOSEO works.

    The beta version _2.8.5_beta works better. (But it does appear in WordPress as a “lower” version, so WordPress will want to “update” it to 2.8.4)

    Beta Releases — https://github.com/aramk/crayon-syntax-highlighter
    If you use GIT, you can do:
    [~/www/wp-content/plugins]# git clone https://github.com/aramk/crayon-syntax-highlighter.git

    Beta version 2.8.5_beta is working on WordPress v5.2 :
    https://website-tech.glerner.com/2016-troubleshooting-php-wordpress-delays/

    lernerconsulting

    (@lernerconsult)

    Also in PHP 7.2
    PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/USERNAME/public_html/wp-content/plugins/cloudflare/src/WordPress/Hooks.php on line 133

    Thread Starter lernerconsulting

    (@lernerconsult)

    I didn’t ask about changing Amazon Affiliate settings or tracking code.

    What permissions need to be changed so someone can add an Amazon item to a collection? Remove an item from a collection?

    Maybe a marketing assistant, who doesn’t have the knowledge to be a WordPress Administrator?

    Thread Starter lernerconsulting

    (@lernerconsult)

    Collection (and individual ASA shortcodes) display properly if un-check “Use asynchronous mode (AJAX)” in ASA1 Options tab.

    FlexMLS? IDX Version 3.5.11.2 on latest WordPress on Apache with PHP 7.1

    Notice: Undefined index: Photos in /home/USERNAME/public_html/wp-content/plugins/flexmls-idx/components/photos.php on line 501

    Warning: Invalid argument supplied for foreach() in /home/USERNAME/public_html/wp-content/plugins/flexmls-idx/components/photos.php on line 501

    Notice: Undefined index: Photos in /home/USERNAME/public_html/wp-content/plugins/flexmls-idx/components/photos.php on line 519

    (all 3 multiple times per page)

    Same with :

    PHP Deprecated: Non-static method flexmlsPortalPopup::draw_portal_popup() should not be called statically in flexmls-idx/pages/portal-popup.php on line 52

    PHP Deprecated: Non-static method flexmlsPortalPopup::timeout_time_left() should not be called statically in flexmls-idx/pages/portal-popup.php on line 49

    WordPress 4.7.3 on Apache, PHP 7.1.3
    Amazon Product In a Post Plugin version 3.6.4

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; shaHelper has a deprecated constructor in /home/USERNAME/public_html/wp-content/plugins/amazon-product-in-a-post-plugin/inc/amazon-product-in-a-post-sha256.inc.php on line 39

    Notice: add_utility_page is deprecated since version 4.5.0! Use add_menu_page() instead.

    Array (
    	[file] => /home/USERNAME/public_html/wp-content/plugins/amazon-product-in-a-post-plugin/inc/amazon-product-in-a-post-tools.php
    	[line] => 512
    	[function] => add_utility_page
    	[args] => Array
    		(
    			[0] => Amazon Product In a Post Plugin
    			[1] => Amazon Product
    			[2] => edit_posts
    			[3] => apipp-main-menu
    			[4] => apipp_main_page
    			[5] => dashicons-amazon
    		)
    
    )
    Thread Starter lernerconsulting

    (@lernerconsult)

    crayon_settings.class.php

    line 67 Changed:

    const TAB_CONVERT = 'tab-convert'; 
    

    To:

    const TAB_CONVERT = 'tab-convert'; const SHOW_MIXED = 'show-mixed';		/* GL Added SHOW_MIXED */
    

    line 205 Changed:

    new CrayonSetting(self::TAB_CONVERT, FALSE),
    

    To:

    new CrayonSetting(self::TAB_CONVERT, FALSE), new CrayonSetting(self::SHOW_MIXED, FALSE),	/* GL added SHOW_MIXED */
    

    Preliminary result: No errors.

    Thread Starter lernerconsulting

    (@lernerconsult)

    https://mydomain.com/wp-admin/options-general.php?page=crayon_settings

    <b>Fatal error</b>:  Uncaught Error: Undefined class constant 'SHOW_MIXED' in /home/USERNAME/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php:1077
    Stack trace:
    #0 /home/USERNAME/public_html/wp-admin/includes/template.php(1343): CrayonSettingsWP::code(Array)
    #1 /home/USERNAME/public_html/wp-admin/includes/template.php(1302): do_settings_fields('crayon_fields', 'crayon_general')
    #2 /home/USERNAME/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php(220): do_settings_sections('crayon_fields')
    #3 /home/USERNAME/public_html/wp-includes/class-wp-hook.php(298): CrayonSettingsWP::settings('')
    #4 /home/USERNAME/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #5 /home/USERNAME/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 /home/USERNAME/public_html/wp-admin/admin.php(222): do_action('settings_page_c...')
    #7 /home/USERNAME/public_html/wp-admin/options-general.php(10): require_once('/home/USERNAME/...')
    #8 {main}
       in <b>/home/USERNAME/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php</b> on line <b>1077</b><br />
    

    Last text displayed:
    Allow Mixed Language Highlighting with delimiters and tags. ?

    No Save button for settings.

Viewing 15 replies - 16 through 30 (of 206 total)