WordPress.org

Ready to get started?Download WordPress

Forums

Null is null or not an object (3 posts)

  1. Zane
    Member
    Posted 10 years ago #

    On every file in wp-admin, when I push a button or try to type in an option I get an error that says.
    A Runtime error has occured on Line 50. How can I fix this? When I say to debug it shows this code from edit.php

    aInputs[i].onclick = function() {
    var inputColl = GetElementsWithClassName('input','valinp');
    var rel = document.getElementById('rel');
    var inputs = '';
    for (i = 0; i < inputColl.length; i++) {
    if (inputColl[i].checked) {
    if (inputColl[i].value != '') inputs += inputColl[i].value + ' ';
    }
    }
    inputs = inputs.substr(0,inputs.length - 1);
    rel.value = inputs;
    }

    the error happens at rel.value-inputs; This makes using WordPress horrible! Please help.

  2. Laughinglizard
    Member
    Posted 10 years ago #

    You might a solution in this thread:
    http://wordpress.org/support/2/2825

  3. Zane
    Member
    Posted 10 years ago #

    This work's great, thanks, but whoever develope's WordPress should probably be aware of the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.