Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thank you. 6.4.10 fixed the issue for me. I use Avast on Windows 10.

    [update: sorry, I just got the Divi update, which fixed this problem]

    I can’t bring light to the issue, but can confirm the same issue. The site I’m looking at also uses the DIVI theme. I can add or edit fields to add them to the pod custom post type, but when I actually try to create or update a post the input boxes are not there. All that shows are the field names and the default description.

    • This reply was modified 3 years, 2 months ago by rberg. Reason: update fixed issue
    Thread Starter rberg

    (@rberg)

    Thank you. For whatever reason, my WordPress site wasn’t showing that there was an update available for Accordions, so deleted and reinstalled and got a newer version that doesn’t have the issue. Appreciate the help.

    Thread Starter rberg

    (@rberg)

    Hi,

    More information. Believe it or not, I’ve narrowed it down to another one of your plugins. When I have Accordions activated, I get those blank pages above. When I disable Accordions, Post Grid works again.

    I’m now on the latest versions of both (Accordions – 3.2.12 and Post Grid 2.0.69).

    Please advise. Thanks!

    Thread Starter rberg

    (@rberg)

    Sorry I really messed up that sentence posted above.

    “The source is those pages is this, which nothing else” should be “The page source of those pages is (the code below), with nothing else. Meaning, no body tags or content.

    Thread Starter rberg

    (@rberg)

    Thank you for the response, that makes sense. I’ll continue investigating. Maybe a plugin conflict. It’s a situation where I don’t have access to a testing site. Thanks again.

    Yes! Thank you very much. That worked.

    I think this might be a similar problem, so am replying to this thread.

    Team WD was working fine, but now is giving the following error on the staff list page:

    Fatal error: Uncaught Error: [] operator not supported for strings in /home/abilityp/public_html/learninglinkspreschool.org/wp-content/plugins/staff-team/views/SCViewFullContact.php:43 Stack trace: #0 /home/abilityp/public_html/learninglinkspreschool.org/wp-content/plugins/staff-team/includes/SCShortcode.php(60): include() #1 /home/abilityp/public_html/learninglinkspreschool.org/wp-includes/shortcodes.php(325): contShortcodeHandler(Array, ”, ‘Staff_Directory…’) #2 [internal function]: do_shortcode_tag(Array) #3 /home/abilityp/public_html/learninglinkspreschool.org/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(Staff_…’, ‘do_shortcode_ta…’, ‘[Staff_Director…’) #4 /home/abilityp/public_html/learninglinkspreschool.org/wp-includes/class-wp-hook.php(286): do_shortcode(‘[Staff_Director…’) #5 /home/abilityp/public_html/learninglinkspreschool.org/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘[Staff_Director…’, Array) #6 /home/abilityp/public_html/learninglinkspreschool.org/wp-includes/post- in /home/abilityp/public_html/learninglinkspreschool.org/wp-content/plugins/staff-team/views/SCViewFullContact.php on line 43

    Any ideas? I tried to recreate the shortcode in the editor without success. I am running PHP 7.1.26. WordPress 5.1, Team WD 1.0.19

    • This reply was modified 7 years, 3 months ago by rberg.
    Thread Starter rberg

    (@rberg)

    Hi panmac. The best solution I’ve seen (better than mine above) is near the bottom of this page by user nppbc:

    http://ww.wp.xz.cn/support/topic/not-working-properly-on-events-page?replies=10

    The code he/she has posted there goes in your theme’s functions.php file. I put it right at the top of that file, after the <?php.

    edit: I see you found it 🙂 Good luck.

    Thank you nppbc. That works much better than my code, which will break every time there is an update.

    Actually, with the previous All-in-One Calendar update, the code I posted above doesn’t work anymore. I think the “summary” class changed to “p-summary.”

    // set page URL and title as set by user or get if needed
    					$urlCurrentPage = (isset($atts['url']) ? $atts['url'] : ssba_current_url());
    					$strPageTitle = (isset($atts['title']) ? $atts['title'] : get_the_title());
    			}
    
    	if (strpos($strPageTitle,'</span>') !== false) {
       				$strPageTitle = ltrim($strPageTitle,'<span class=" summary">');
    				$strPageTitle = rtrim($strPageTitle,'</span>');
    			}	
    
    			// the buttons!

    If you are still looking for this hack, I added the code I posted previously in this thread just above the “// the buttons!” comment line, which is about half way down the Simple-Share-Buttons-Adder.php file. It’s just a hack, as it looks for ‘</span>’ in the page title, and removes the code from the beginning and end of the title if it is there. The code snippet above has the added lines in context.

    I had the same issue, and it occurred with the most recent update to All-in-One Calendar. I’ve posted a version of this over there…

    It looks like the Simple Share Buttons code

    get_the_title($post->ID);

    used to return something like this:

    “Event Title”

    After the recent update, that same code returns this:

    “<span class=” summary”>Event Title</span>”

    Again, we didn’t have that issue until the most recent All-in-One Calendar update, so not necessarily a problem with this plugin.

    Not optimal code, as I’m not an amature programmer. This works as a hack to fix the issue, placed just after where $strPageTitle is set in the Simple Share Buttons Adder code:

    if (strpos($strPageTitle,'</span>') !== false) {
       				$strPageTitle = ltrim($strPageTitle,'<span class=" summary">');
    				$strPageTitle = rtrim($strPageTitle,'</span>');
    			}
    Thread Starter rberg

    (@rberg)

    Some more data, after looking at the Simple Share Buttons file…

    It looks like the Simple Share Buttons code

    get_the_title($post->ID);

    used to return something like this:

    “Event Title”

    After the recent update, that same code returns this:

    <span class=" summary">Event Title</span>

    Again, we didn’t have that issue until the most recent All-in-One Calendar update. It’s not a problem on the page with the calendar itself, just the individual event detail pages.

    Thanks,
    Rick

    EDIT: Not optimal, but just in case someone else encounters this. I added the code

    if (strpos($strPageTitle,'</span>') !== false) {
       				$strPageTitle = ltrim($strPageTitle,'<span class=" summary">');
    				$strPageTitle = rtrim($strPageTitle,'</span>');
    			}

    to the Simple Share Buttons plugin to check for this issue, and remove it if necessary.

    Thread Starter rberg

    (@rberg)

    I am already on the latest version:
    from our site’s plugin page: Version 2.0.13

    Thanks,
    Rick

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